Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Apple Watch Projects

You're reading from   Building Apple Watch Projects Discover exciting and fun projects by building brilliant applications for the Apple Watch

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher Packt
ISBN-13 9781785887369
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Stuart Grimshaw Stuart Grimshaw
Author Profile Icon Stuart Grimshaw
Stuart Grimshaw
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Exploring the New Platform FREE CHAPTER 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 $19.99/month. Cancel anytime
Banner background image