Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i get list of post based on your reading history - api medium

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

enter image description here

like image 465
David Hackro Avatar asked Apr 23 '18 13:04

David Hackro


1 Answers

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.

like image 195
Cooper Makhijani Avatar answered Oct 20 '22 18:10

Cooper Makhijani