Created
July 12, 2016 12:14
-
-
Save bee-keeper/7cf03c43c5251c1ad2b3d86e501e71d5 to your computer and use it in GitHub Desktop.
Json Place Holder API
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 | |
resp = requests.get('http://jsonplaceholder.typicode.com/albums/3/photos/') | |
no_of_albums = len(resp.json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment