So my submission for the External API Mission. Not super exciting to start but I think as I have more time this can be more interesting.
Misty Skill - External Air Quality Check - Misty gets AirQuality from Breezometer’s API and has an animated response to the quality.
Added this to the Skills area as well.
Here is a video of Misty’s response to San Jose’s Air Quality it was only moderate so she wasn’t very excited:
And here is the code:
Prerequisites: Create an API account on Breezometer.com. This utilizes the free Air Quality API which is free for a 14 day trial.
After you have signed up for your account you will need to update the key in the skills .json file “breezeApiKey”: “<Your API Key From Breezometer”,
Also for your location right now you must set the Lat and Lon keys in the skills .json file. There are plenty of places to convert your location to Lat and Lon. I was using Get Lat Long from Address Convert Address to Coordinates but you can also get it form Google Maps. The default at the moment is the city of San Jose.
Still a lot to refine on this. Definitely see a lot of places it could go.