1.0.2 • Published 1 year ago

weather-api.ts v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

About

weather-api.ts is an unofficial plugin that allows you to easily interact with the API of weatherapi.com

Installation

npm install weather-api.ts
yarn add weather-api.ts
pnpm add weather-api.ts

Uses

// get realtime weather data with a query
let weatherData;
await new Weather(KEY, LANG, FORMAT)
    .realtime({q: QUERY})
        .then(result => {
            weatherData = result;
        })
        .catch(error => {
            console.error(error);
        });

Links

  • Github
  • npm

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to report an issue on Github or send me a mail.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago