Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Apple Watch Projects

You're reading from  Building Apple Watch Projects

Product type Book
Published in Feb 2016
Publisher Packt
ISBN-13 9781785887369
Pages 298 pages
Edition 1st Edition
Languages
Author (1):
Stuart Grimshaw Stuart Grimshaw
Profile icon Stuart Grimshaw

Table of Contents (17) Chapters

Building Apple Watch Projects
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Exploring the New Platform 2. Hello Watch 3. C-Quence – A Memory Game 4. Expanding on C-Quence 5. On Q – A Productivity App 6. Watching the Weather 7. Plot Buddy – All about Location 8. Images, Animation, and Sound 9. Wear It, Test It, Tweak It, Ship It 10. This Is Only the Beginning Index

Getting the data


So how, and from where, do we get the data we need from the web? There are, in fact, very many sources that will provide us with data for free, and not just weather data. Searching through Google open data just now yielded 728 million results, which should be enough to keep most curious developers amused for some time.

Welcome to openweathermap.org

From the large number of open weather data sources, we will select http://openweathermap.org, which provides a large quantity of data for free to registered users. Go to the URL above and perform the following steps:

  1. Create a new account, which is free, requiring only an email address.

  2. Copy the API Key that will be generated once you have created an account.

You're done! Now you have an API key that you will include when you request data from the server, confirming that you are entitled to access that data. The key will look something like this: 78c75588dfe58276a694af9c660edxxx

With less form-filling than it takes to create a Google...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}