Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Add note about new signups being no longer available for the Dark Sky API.
  • Loading branch information
hishma committed Mar 7, 2021
1 parent aa910d8 commit c64ec91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Targets [iOS](https://developer.apple.com/ios)/[iPadOS](https://developer.apple.

### API Key

`Weather` requires a (free) [Dark Sky API key](https://darksky.net/dev) to function. `Forecast.Request` holds the API key as a static property that can be set once during app launch, and doesn't need to be configured with each request:
`Weather` requires a (free) [Dark Sky API key](https://darksky.net/dev)* to function. `Forecast.Request` holds the API key as a static property that can be set once during app launch, and doesn't need to be configured with each request:

```swift
import Foundation
Expand All @@ -29,6 +29,8 @@ import Weather
Forecast.Request.key = "268a49e46c1b588ede555c8b4cc034f4"
```

_*Sadly Dark Sky is no longer accepting new signups, though the API is still available if you already have an API key. For now anyway. ☹️_

### Language

Forecasts are available in 50+ languages and growing. Check the [API documentation](https://darksky.net/dev/docs) for a complete, up-to-date list of supported languages.
Expand Down

0 comments on commit c64ec91

Please sign in to comment.