here-client
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

HERE.com JS client

CI npm language License

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' });

Readme

Keywords

Package Sidebar

Install

npm i here-client

Weekly Downloads

1

Version

0.7.0

License

MIT

Unpacked Size

672 kB

Total Files

71

Last publish

Collaborators

  • raszi