# geo-time-getter

> get google api key: https://developers.google.com/maps/documentation/timezone/start#get-a-key

Latest version **0.0.2** (published 2019-07-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install geo-time-getter
pnpm add geo-time-getter
yarn add geo-time-getter
bun add geo-time-getter
```

## 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.0.2 |
| Published | 2019-07-15 |
| First published | 2019-07-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 156.2 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Roman |
| Maintainers | ykushev |

## Links

- npm: https://www.npmjs.com/package/geo-time-getter
- Repository: https://github.com/ykushev/geo-time-getter
- Homepage: https://github.com/ykushev/geo-time-getter#readme
- Issues: https://github.com/ykushev/geo-time-getter/issues
- npm.io page: https://npm.io/package/geo-time-getter

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.19.0
- [node-cache](https://npm.io/package/node-cache.md) ^4.2.0

## Recent versions

- 0.0.2 (latest) — 2019-07-15
- 0.0.1 — 2019-07-13

## README

get google api key: 
https://developers.google.com/maps/documentation/timezone/start#get-a-key

Usage Example: 
```
import geoTimeGetter from 'geo-time-getter';

const gtg = new geoTimeGetter({
    GOOGLE: { apiKey: "<your key>" }
});

const result = await gtg.get('Novosibirsk');

```

options: 
```
GOOGLE: {
    HOST: String,
    apiKey: String
},
YANDEX: {
    HOST: String,
    apiKey: String
},
cache: false || Object {
    strategy: String, // cacheFirst || apiFirst,
    stdTTL: 60 * 60 * 24 * 30, // 1 month
}
```

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