medium.com-publishing-api

How to retrieve Medium stories for a user from the API?


I'm trying to integrate Medium blogging into an app by showing some cards with posts images and links to the original Medium publication.

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


Solution

  • The API is write-only and is not intended to retrieve posts (Medium staff told me)

    You can simply use the RSS feed as such:

    https://medium.com/feed/@your_profile
    

    You can simply get the RSS feed via GET, then if you need it in JSON format just use a NPM module like rss-to-json and you're good to go.