+ 1

JSON API with Python via URL

Hey, everyone. I'm trying to get a series of data (json file with holidays from all cities of Brazil) from an url into a list of strings using urllib.request. Since I've tried to pull data for 2 or more cities, I've been receiving the Error: "Expecting value". What y'all know about pulling data from these kind of sources? Tks. If anyone wants to see the code, just contact me.

18th May 2018, 7:02 PM
Bruno Rodrigues
Bruno Rodrigues - avatar
2 Réponses
+ 2
Maybe the answer is in this Code: https://code.sololearn.com/ccSL4mwbI7DT/?ref=app
19th May 2018, 10:00 AM
Sebastian Keßler
Sebastian Keßler - avatar
0
Danke schön!
19th May 2018, 8:14 PM
Bruno Rodrigues
Bruno Rodrigues - avatar