Available HG APIS:
- Brazil Weather
Request: http://api.hgbrasil.com/weather/?format=json&cid=BRXX0198
Response example: http://hiperload.com/s/jg0n94t3q/e
Status page: http://hgbrasil.com/status/weather
Params:
format:
json
json-cors (JSON with Cross-Origin Resource Sharing headers, localhost for development or host name of API Key)
debug
jsonp
php-serialize (default)
cid:
Yahoo city code
user_ip: (only with API key)
Send your user IP to search location by GeoIP.
city_name: (only with API key)
Send city name to search weather conditions.
lat: (only with API key)
Send latitude for search weather conditions.
lon: (only with API key)
Send longitude for search weather conditions.
key: (comming soon)
Set your API key to use some search params.
- Social login with HG Accounts
See details in: http://accounts.hgbrasil.com/applications/new
- Currencies exchange conversion (beta)
Request: http://api.hgbrasil.com/exchange/?currencies=USDBRL&format=json
Response example: http://hiperload.com/s/qr0z65v7l/e
Available Params:
format:
json (default)
debug
jsonp
php-serialize
currencies:
Code of currencies for exchange conversion, like USDBRL (for USD to BRL)
callback:
Set your callback name for jsonp format.
HG Brasil 2016 ®