Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bee-keeper/7cf03c43c5251c1ad2b3d86e501e71d5 to your computer and use it in GitHub Desktop.
Save bee-keeper/7cf03c43c5251c1ad2b3d86e501e71d5 to your computer and use it in GitHub Desktop.
Json Place Holder API
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