Mitesh Kokare
Mitesh Kokare

Reputation: 31

How to retrieve Medium reading list for a user from the API using python?

From Medium API docs I can see how to retrieve publications and create posts, but it doesn't mention retrieving reading list. Is retrieving reading list for a user currently possible using the Medium's API?

Upvotes: 1

Views: 1304

Answers (2)

I don't think it is currently possible to retrieve reading list. According to the documentation api's it is not part of that list.

Upvotes: 0

mabergerx
mabergerx

Reputation: 1213

The Medium API documentation clearly states the endpoints available. Their Listing the user's publications endpoint states:

Returns a full list of publications that the user is related to in some way: This includes all publications the user is subscribed to, writes to, or edits. This endpoint offers a set of data similar to what you’ll see at https://medium.com/me/publications when logged in.

So if by "reading list" you mean the list of publications the user is subscribed to than yes, you can retrieve it via:

GET https://api.medium.com/v1/users/{{userId}}/publications

Upvotes: 1

Related Questions