@geolocation-services/nextchargingstation-package

1.2.3 • Public • Published

nextchargingstation

Usage

import { 
    getCollection, 
    getDetails 
} from '@geolocation-services/nextchargingstation-package'


var chargingStations = 
    await getCollection(47.81044, 50.0704, 8.43979, 12.08176, 9);

chargingStations.forEach(chargingStation => console.log(`
    Id: ${chargingStation.Id}
    Latitude: ${chargingStation.Latitude}
    Longitude: ${chargingStation.Longitude}
`));


var details = await getDetails(9044570);

details.forEach(detail => console.log(`
    Key: ${detail.Key}
    Value: ${detail.Value}
`));

API in Action

https://www.nextchargingstation.org

Readme

Keywords

Package Sidebar

Install

npm i @geolocation-services/nextchargingstation-package

Weekly Downloads

8

Version

1.2.3

License

ISC

Unpacked Size

2.67 kB

Total Files

4

Last publish

Collaborators

  • geolocation-services