Nightmare Prom Memories

    @bifot/openweathermap-api

    1.0.1 • Public • Published

    Open Weather Map

    API for openweathermap.

    Install

    $ npm i @bifot/openweathermap-api -S

    Tests

    $ npm test

    Usage

    // get weather by name
    await api.getWeather({
      q: 'London'
    })
    
    // get weather by coordinates
    await api.getWeather({
      lat: 51.51,
      lon: -0.13
    })
    
    // get weather by zip
    await api.getWeather({
      zip: '94040,us'
    })

    License

    MIT.

    Install

    npm i @bifot/openweathermap-api

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.44 kB

    Total Files

    7

    Last publish

    Collaborators

    • bifot