1.0.5 • Published 7 years ago

weatherware v1.0.5

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

WeebTS

Typescript module to get information from the Microsoft weather API, usable in both TS and JS.

Example usage:

Typescript:

import { Client } from 'weatherware';

const client: Client = new Client();

client.getWeather({ query: 'city name or zipcode' })
	.then(console.log)
	.catch(console.error);

Javascript:

const { Client } = require('weatherware');

const client = new Client({ language: 'default Language (can be overriden in the getWeather method)', degreeType: 'default degreeType (can be overriden in the getWeather method)' });

client.getWeather({ query: 'city name or zipcode'})
	.then(console.log)
	.catch(console.error);
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago