I put the URL into a JSON viewer to look at the structure, and cannot figure out what I am doing wrong. When I run this I get an exception "TypeError: list indices must be integers, not str" The JSON stream includes a bunch of fields with daily summary information (Dailysummary), but I cannot get out and any of the values they have in this list. Accuweather by is one of the more popular and good weather apps. If you want a 'universal' free key, you can grab one at the line 38 of this file. I know this incomprehensible decision of Weather Underground is a real problem for some of you. I adapted their Python example code (see below). It also has a Premium ad-free subscription that costs 3.99 per month and 19.99 per year. Weather Underground By John Bartlett Free Download Now Developer's Description By John Bartlett View current weather conditions no matter where you are. Weather Station will continue to provide access to Weather Underground services as long as these keys will be operational. I am trying to pull historical data from the Weather Underground API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |