This week we had to explore integrating APIs into our sketches. Working with data can be really exciting, but as I learned this week, no API is the same and figuring out how to properly use them into your code can be a long learning process. I played around with a lot of APIs, using the New York Times then looking at the MTA and Nasa. I settled on using the weather’s API because I found it the easiest to work with, but even my final sketch is not as well laid out as i’d like it to be.
I created a button with an input box allowing for anyone to enter a city and find out the current temperature at that place. I did not know how to change the weather output from the weather API from Celsius to Fahrenheit. I figured most of the world uses Celsius, so maybe that was better to use anyways.
Link to sketch can be found here (you’ll need to enter your own API key)