https://github.com/timmarinin/darkskyproxy
Smallest proxy to DarkSky API
https://github.com/timmarinin/darkskyproxy
darksky proxy
Last synced: 3 months ago
JSON representation
Smallest proxy to DarkSky API
- Host: GitHub
- URL: https://github.com/timmarinin/darkskyproxy
- Owner: timmarinin
- Created: 2017-04-23T23:17:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T00:07:37.000Z (about 8 years ago)
- Last Synced: 2024-11-28T09:28:32.499Z (6 months ago)
- Topics: darksky, proxy
- Language: JavaScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
darkskyproxy
============This is a small proxy to DarkSky API to hide your API key from browser.
API is the same as DarkSky one, but you omit the key. So URL will look like `http://localhost:8050/forecast/37.8267,-122.4233`.
## How to install
Install it from npm repository:
```
$ npm install -g darkskyproxy
```## How to use
Start it locally:
```
$ darkskyproxy [your_api_key_goes_here]
# OR
$ DARKSKY_API=[your_api_key_goes_here] darkskyproxy
```The default port is 8050, but you can choose your own with PORT env variable.
## License
darkskyproxy is under ISC license.
[Tim Marinin](http://marinin.xyz), 2017