# mechanic-weather

> Mechanic - weather api client

Latest version **0.2.2** (published 2019-03-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install mechanic-weather
pnpm add mechanic-weather
yarn add mechanic-weather
bun add mechanic-weather
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2019-03-20 |
| First published | 2019-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | cagdas89 |

## Links

- npm: https://www.npmjs.com/package/mechanic-weather
- Repository: https://github.com/ubaltaci/mechanic-wunderground
- Issues: https://github.com/ubaltaci/mechanic-wunderground/issues
- npm.io page: https://npm.io/package/mechanic-weather

## Dependencies (3)

- [async](https://npm.io/package/async.md) 1.5.0
- [limiter](https://npm.io/package/limiter.md) 1.1.0
- [request](https://npm.io/package/request.md) 2.75.0

## Recent versions

- 0.2.2 (latest) — 2019-03-20
- 0.2.1 — 2019-03-19
- 0.2.0 — 2019-03-19

## README

````javascript

var MechanicWeather = require("mechanic-weather");

// initialize mechanic-weather
var mechanicWeather = new MechanicWeather({apiKey: "{apiKey}"}, rateLimit, rateTime);

// fire it up
mechanicWeather.getForecast([
    {
        id: "{some unique id}",
        latitude: "{latitude}",
        longitude: "{longitude}"
    },
    // ...
    ], (error, results) => {
	    // [
	    //    {
	    //        id: "{id}",
	    //        hourly: [
	    //            // ...
	    //        ]
	    //    },
	    //    {
        //        id: "{id}",
        //        hourly: [
        //            // ...
        //        ]
        //    },
	    //]
	});
````

---
_Source: https://npm.io/package/mechanic-weather · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
