Skip to content

Instantly share code, notes, and snippets.

@QuantumDamage
Created April 20, 2017 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuantumDamage/1b562721e35269dd74830fad369cab33 to your computer and use it in GitHub Desktop.
Save QuantumDamage/1b562721e35269dd74830fad369cab33 to your computer and use it in GitHub Desktop.
r = requests.get('http://api.gios.gov.pl/pjp-api/rest/station/findAll')
allStations = json_normalize(r.json())
print(allStations[allStations["city.name"] == u"Gdańsk"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment