An open API service indexing awesome lists of open source software.

https://github.com/idreesinc/dark-sky-api-example

A simple Dark Sky API example in Swift, because why use a bloated library for something as simple as an API call?
https://github.com/idreesinc/dark-sky-api-example

darksky swift swift-playgrounds

Last synced: 3 months ago
JSON representation

A simple Dark Sky API example in Swift, because why use a bloated library for something as simple as an API call?

Awesome Lists containing this project

README

        

# Dark Sky API Example in Swift
A simple Dark Sky API example written in a Swift Playground, because why use a bloated library for something as simple as an API call?
[![](https://darksky.net/dev/img/attribution/poweredby-oneline.png)](https://darksky.net/dev)
## Before you start
Make sure to create a file called "api_key.secret" in the Resources folder of your Swift Playground containing only your Dark Sky API key. The API's free tier is quite generous so I recommend trying it out!
## License
MIT, just in case you worry about that sort of thing