Reputation: 3712
Its posible get list of post based on your reading history using the API Medium?
I read the repo but i dont see anything reference of this requirement
Upvotes: 7
Views: 545
Reputation: 56
As you stated in your question, the documentation does not include an endpoint for a user's read history. The endpoint used to get your read history on the Medium site itself is likely private and only works for medium.com (which is probably a good thing given most people will allow access to their accounts without reading/realizing what they're giving up and having access to someones read history is a huge privacy issue). If you really need the read history, I think your best bet would be to scrape the medium page as the user you're trying to get the history of*.
*: Note that scrapping is likely in violation of Medium's ToS, do this at your own risk. It is not my fault if your account is suspended, closed, banned, etc.
Upvotes: 2