-
Notifications
You must be signed in to change notification settings - Fork 2
Dark Sky API
Elizabeth Adams edited this page Jul 22, 2019
·
3 revisions

In order to use the Dark Sky API, you first need your own API key. Don't worry, getting an API key is quick and free. All you need to do is go to the website and click "Try for Free" to create an account.
You get 1,000 API calls for free each day. Every API request over the free daily limit costs $0.0001. This limit automatically resets each day at midnight UTC.The Forecast Request returns the current weather forecast for the next week.The Time Machine Request returns the observed or forecast weather conditions for a date in the past or future.
Your secret Dark Sky API key will look something like this:
0123456789abcdef9876543210fedcba
We will use this later in the code.
Initial State (www.initialstate.com)
(c) 2019 Initial State Technologies, Inc.