Weather API wrapper

by satansdeer


Darksky API Wrapper


They take security very seriously at Dark Sky. As a security precaution they have disabled cross-origin resource sharing (CORS) on their servers.

This is small and simple wrapper to make calls to Darksky API.

How To Use

First you have to register on and get an API key. Next register on After that just press the Deploy To Heroku button above.

You'll be prompted with app creation screen.

create heroku app

Enter your app name and API key you got from Darksky. Click the Deploy app button.

Now you can click the View button and go to your app url.

To get forecast you need to provide latitude and longitude:


You should get JSON response with forecast.