Created
January 1, 2019 20:28
-
-
Save octaflop/fac878462e202d3902db6acd9421598f to your computer and use it in GitHub Desktop.
Scratchpad for SLCPython Jan 2019: Learn Python Meetup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import pprint | |
pp = pprint.PrettyPrinter(indent=2) | |
url = "https://pokeapi.co/api/v2/pokemon/ditto" | |
r = requests.get(url) | |
pp.pprint(r.json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment