1. import pprint
    2. pp = pprint.PrettyPrinter(indent=2)
    3. pp.pprint(res.json())
    1. { 'data': [ { '_serializer': 'v2.book',
    2. 'content_updated_at': '2020-10-21T05:17:01.890Z',
    3. 'created_at': '2020-10-20T15:37:45.000Z',
    4. 'creator_id': 343806,
    5. 'description': '附件和有趣的东西',
    6. 'id': 1906752,
    7. 'items_count': 1,
    8. 'likes_count': 0,
    9. 'name': '资源库',
    10. 'namespace': 'samzonglu/mgg8fc',
    11. 'public': 0,
    12. 'slug': 'mgg8fc',
    13. 'type': 'Resource',
    14. 'updated_at': '2020-10-21T05:17:01.000Z',
    15. 'user': { '_serializer': 'v2.user',
    16. 'avatar_url': 'https://cdn.nlark.com/yuque/0/2020/png/343806/1603164657666-avatar/86b58a0e-7e5a-49ed-b28f-25a11b64c920.png',
    17. 'created_at': '2019-05-11T09:04:37.000Z',
    18. 'description': '读史以明志',
    19. 'followers_count': 0,
    20. 'following_count': 14,
    21. 'id': 343806,
    22. 'login': 'samzonglu',
    23. 'name': 'samzong.lu',
    24. 'type': 'User',
    25. 'updated_at': '2020-10-20T23:51:02.000Z'},
    26. 'user_id': 343806,
    27. 'watches_count': 1},
    28. { '_serializer': 'v2.book',
    29. 'content_updated_at': '2020-10-20T06:31:42.400Z',
    30. 'created_at': '2020-10-14T02:11:09.000Z',
    31. 'creator_id': 343806,
    32. 'description': 'Python3',
    33. 'id': 1880166,
    34. 'items_count': 2,
    35. 'likes_count': 0,
    36. 'name': '学习笔记',
    37. 'namespace': 'samzonglu/nbasax',
    38. 'public': 0,
    39. 'slug': 'nbasax',
    40. 'type': 'Book',
    41. 'updated_at': '2020-10-21T07:05:07.000Z',
    42. 'user': { '_serializer': 'v2.user',
    43. 'avatar_url': 'https://cdn.nlark.com/yuque/0/2020/png/343806/1603164657666-avatar/86b58a0e-7e5a-49ed-b28f-25a11b64c920.png',
    44. 'created_at': '2019-05-11T09:04:37.000Z',
    45. 'description': '读史以明志',
    46. 'followers_count': 0,
    47. 'following_count': 14,
    48. 'id': 343806,
    49. 'login': 'samzonglu',
    50. 'name': 'samzong.lu',
    51. 'type': 'User',
    52. 'updated_at': '2020-10-20T23:51:02.000Z'},
    53. 'user_id': 343806,
    54. 'watches_count': 1}]}