Created
October 2, 2021 14:40
-
-
Save rockink/108f3171d2d56368594fb54373aa3642 to your computer and use it in GitHub Desktop.
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 | |
def make_call(page: int): | |
API_SERVER = f"https://jsonplaceholder.typicode.com/posts/{page}" | |
return requests.get(API_SERVER).json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment