Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r = requests.get('https://jsonplaceholder.typicode.com/users')
- print r.text
- [{
- "id": 1,
- "name": "Leanne Graham",
- "username": "Bret",
- "email": "Sincere@april.biz",
- "address": {
- "street": "Kulas Light",
- "suite": "Apt. 556",
- "city": "Gwenborough",
- "zipcode": "92998-3874",
- "geo": {
- "lat": "-37.3159",
- "lng": "81.1496"
- }
- }]
- print r.text[0]
Add Comment
Please, Sign In to add comment