I’m having a hard time finding icons to use that’ll work for a local weather app. do you guys know where I can find some for free?
Aren’t the icons supposed to be included in the FCC API output?
from: https://fcc-weather-api.glitch.me/
“Images links are included in the JSON under weather[0].icon. This is enough to complete the challenge.”
1 Like
where do I get my APPID from though?
@camperextraordinaire may have the right idea. Despite FCC instructions, if weather conditions correspond to Mist/Fog, the complete icon URL is not listed in the JSON object. Rather than https://… , it simply lists the icon’s specific code which, in this case, is “50n”. I’ve pasted the relevant portion below.
{“coord”:{“lon”:-78.75,“lat”:35.93},“weather”:[{“id”:701,“main”:“Mist”,“description”:“mist”},{“id”:741,“main”:“Fog”,“description”:“fog”,“icon”:“50n”}]
1 Like