This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with Python Forum

View Course

311 points
864f4cac13d9adb6f216887c8b03c416?s=140&d=retro
Submitted by
Andre.bouwer
over 2 years ago

Just wondering

How would i make this work in actual python? it telles me urllib2 isent a module and requests isnt a module. I'm just trying to understand where i could use this


0 votes

permalink

My guess is you'll have to install the module (I have yet to try):
http://docs.python-requests.org/en/latest/user/install/#get-the-code

384 points
3d2f34cdd2aeb1637f2ac925bbd97d5f?s=140&d=retro
Submitted by
codemite
over 2 years ago