Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
inpe-weather-api
Advanced tools
Readme
A unofficial NodeJS interface to brazillian INPE's Weather Forecast Webservice.
This service informs the climatic conditions in any city of Brazil.
$ npm install --save inpe-weather-api
//commonJS require
const InpeForecast = require('inpe-weather-api')
//ES2015 style
import * as InpeForecast from 'inpe-weather-api'
getCities(cityOrPrefix*)
getAirportStatus(airportCode*)
{
"codigo": "SBBQ",
"atualizacao": "26/01/2018 14:00:00",
"pressao": "1018",
"temperatura": "21",
"tempo": "c",
"tempo_desc": "Chuvas periódicas",
"umidade": "83",
"vento_dir": "130",
"vento_int": "9",
"visibilidade": "6000"
}
getCapitalsForecast()
getForecast(cityCode*,nextSevenDays,isLatLongPrev, isExtended)
//City code
return getForecast('244',true)
.then(response => /*...*/)
//With lat,long
return getForecast('-22.90/-47.06',true,true)
.then(response => /*...*/)
{
"nome": "São Paulo",
"uf": "SP",
"atualizacao": "2018-04-14",
"previsao": [
{
"dia": "2018-04-14",
"tempo": "pt",
"maxima": "26",
"minima": "18",
"iuv": "9.0"
},
{
"dia": "2018-04-15",
"tempo": "ci",
"maxima": "21",
"minima": "17",
"iuv": "9.0"
},
{
"dia": "2018-04-16",
"tempo": "ci",
"maxima": "22",
"minima": "17",
"iuv": "10.0"
},
{
"dia": "2018-04-17",
"tempo": "n",
"maxima": "24",
"minima": "16",
"iuv": "10.0"
},
{
"dia": "2018-04-18",
"tempo": "pn",
"maxima": "25",
"minima": "15",
"iuv": "9.0"
},
{
"dia": "2018-04-19",
"tempo": "pn",
"maxima": "26",
"minima": "16",
"iuv": "9.0"
},
{
"dia": "2018-04-20",
"tempo": "vn",
"maxima": "26",
"minima": "16",
"iuv": "9.0"
}
]
}
getUVIncidence(cityCode*)
{
"nome": "São Paulo",
"uf": "SP",
"data": "14/04/2018",
"hora": "12h45",
"iuv": "4"
}
getWavesForecast(cityCode*, day)
Feel confortable to make some donations to maintain and improve the project development. Any donations are very welcome!
Bitcoin: bc1qvulnqxftrscmtn073wwx66szlen30tarnuhqlc
Ethereum: 0xB98D8452002Ef3a6Ca949daAE5846535B174EBcA
Lunes: 37s3C6u5BNnwU7xtrbYPAwKB9juHskmgbxd
FAQs
NodeJS interface to INPE Weather Forecast API
The npm package inpe-weather-api receives a total of 1 weekly downloads. As such, inpe-weather-api popularity was classified as not popular.
We found that inpe-weather-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.