Skip to content

Commit be2a832

Browse files
committed
Add learning.py
0 parents  commit be2a832

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

learning.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import requests
2+
import pprint
3+
4+
pp = pprint.PrettyPrinter(indent=2)
5+
url = "https://pokeapi.co/api/v2/pokemon/pikachu"
6+
r = requests.get(url)
7+
pp.pprint(r.json())

0 commit comments

Comments
 (0)