Created
July 21, 2020 14:20
-
-
Save jtprogru/fc5a6d49a8a411b1ec24e9707ffb8a55 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| # Created by JTProgru / JTProg | |
| # Date: 21.07.2020 | |
| # https://jtprog.ru/ | |
| __author__ = 'jtprog' | |
| __version__ = '0.0.1' | |
| __author_email__ = '[email protected]' | |
| import requests | |
| url = 'https://jsonplaceholder.typicode.com/todos' | |
| res = requests.get(url).json() | |
| for item in res: | |
| print(item['id']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment