You can in a position to make use of the Superior Medium API that I developed as follows:
There are 5 sorts of requests. you would have the ability to get all of the responses by utilizing HTTP GET
methodology.
Medium feed in JSON
You can capable of get the RSS feed of the final 10 Medium posts by utilizing the next hyperlinks (substitute your username as an alternative 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/person/{userId}
Medium Superior Knowledge
You can capable of get the Medium feed in JSON with the lacking a part of the Medium feed corresponding to clapCount
, voterCount
, responseCount
, readingTime
. every lacking information injected in each publish(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/person/{userId}
Medium Personalized Knowledge
JSON conversion of the Medium RSS feed is personalized based on the classes. Order the Medium publish’s tags based on their use depend among the many newest 10 posts and the tagOrder
return that tags’ order rank. Medium’s newest 10 posts have been divided by 3 and each 3 posts have been pushed in an array and people arrays have been pushed in a single array. There may be an algorithm that returns probably the most appropriate tag for the Medium publish among the many different tags of that Medium publish.
The next request of the API offers the personalized model of the Medium feed in JSON
curl https://advanced-medium-api.herokuapp.com/personalized/person/{userId}
Medium Personalized Superior Knowledge
This response comprises the Medium personalized information with the injection of lacking stats corresponding 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/person/{userId}
Lacking information of a selected publish.
This response comprises solely the lacking half (clapCount
, voterCount
, responseCount
, readingTime
) of Medium feed for a selected Medium publish.
Request 💻 ➡ 🌎 :
curl https://advanced-medium-api.herokuapp.com/medium/publish/{postId}
Response 🌎➡💻 :
{
"clapCount": 98,
"responseCount": 4,
"voterCount": 12,
"readingTime": 4
}