You might ready to make use of the Superior Medium API that I developed as follows:
There are 5 varieties of requests. you can have the ability to get all of the responses through the use of HTTP GET
methodology.
Medium feed in JSON
You might in a position to get the RSS feed of the final 10 Medium posts through the use of the next hyperlinks (substitute your username as a substitute of @username
).
medium.com/feed/@username
or
username.medium.com/feed
The next request of the API offers the direct JSON conversion of that RSS Feed.
curl https://advanced-medium-api.herokuapp.com/medium/consumer/{userId}
Medium Superior Information
You might in a position to get the Medium feed in JSON with the lacking a part of the Medium feed similar to clapCount
, voterCount
, responseCount
, readingTime
. every lacking information injected in each submit(objects) object.
The next request of the API offers the JSON conversion of the RSS feed with the injection of lacking information.
curl https://advanced-medium-api.herokuapp.com/superior/consumer/{userId}
Medium Personalized Information
JSON conversion of the Medium RSS feed is personalized in response to the classes. Order the Medium submit’s tags in response to their use rely among the many newest 10 posts and the tagOrder
return that tags’ order rank. Medium’s newest 10 posts had been divided by 3 and each 3 posts had been pushed in an array and people arrays had been pushed in a single array. There’s an algorithm that returns probably the most appropriate tag for the Medium submit among the many different tags of that Medium submit.
The next request of the API offers the personalized model of the Medium feed in JSON
curl https://advanced-medium-api.herokuapp.com/personalized/consumer/{userId}
Medium Personalized Superior Information
This response comprises the Medium personalized information with the injection of lacking stats similar to clapCount
, voterCount
, responseCount
, readingTime
.
The next request of the API offers the personalized model of the Medium feed in JSON with the lacking a part of the Medium feed.
curl https://advanced-medium-api.herokuapp.com/superior/personalized/consumer/{userId}
Lacking information of a selected submit.
This response comprises solely the lacking half (clapCount
, voterCount
, responseCount
, readingTime
) of Medium feed for a selected Medium submit.
Request 💻 ➡ 🌎 :
curl https://advanced-medium-api.herokuapp.com/medium/submit/{postId}
Response 🌎➡💻 :
{
"clapCount": 98,
"responseCount": 4,
"voterCount": 12,
"readingTime": 4
}