raszi / here-client

JavaScript client for the HERE.com APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JavaScript client for the HERE.com APIs

License:MIT License


Languages

Language:TypeScript 100.0%