You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

here-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

here-client

HERE client

0.7.0
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

here

FAQs

Package last updated on 30 Sep 2020

Did you know?

Socket

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.

Install

Related posts