HERE.com JS client
This is a simple JavaScript client for HERE.com APIs.
Supported APIs
Weather
To retrieve a Weather client you need to call client.weather
:
- Observation:
weather.observation()
- Hourly forecast:
weather.hourlyForecast
- Seven day forecast:
weather.sevenDayForecast
- Seven day forecast simple:
weather.sevenDayForecastSimple
Examples
JavaScript
const HereClient = require('here-client').default;
const hereClient = new HereClient({ apiKey: 'foobar' });
hereClient.weather.observation({ name: 'Budapest' });
TypeScript
import HereClient from 'here-client';
const hereClient = new HereClient({ apiKey: 'foobar' });
hereClient.weather.observation({ name: 'Budapest' });