Towards Data Science Article to Markdown Blog converter

FREEMIUM
By pierpaolo28 | Updated לפני חודש | Education
Health Check

N/A

Followers: 1
Resources:
Product Website Terms of use
API Creator:
Rapid account: Pierpaolo 28
pierpaolo28
pierpaolo28
Log In to Rate API
Rating: 5 - Votes: 1

README

In order to use this API, 3 arguments are required:

  • The full name of the user on Medium (n).
  • The username of the user on Medium (u).
  • A link to the Towards Data Science article you want to convert to Markdown from Medium (a).

The API will then return the desired Markdown file with the article (in order to see if the request was fulfilled correctly on the Rapid API web interface, you can go on the Results tab in endpoints and see the name of the file attached in the response header under the “content-disposition” property). The file can then be easily downloaded and used by adding two lines on code in Python (as shown in the Tutorials tab).

In this version, figures/GIFs captions are assumed to end with a full stop (.) and having just a single full stop in the caption (otherwise the caption and the next paragraph will end up in the same sentence). Medium link embeds are currently not supported for automatic conversion (e.g. they will end up like captions that don’t have a full stop). Embeds external from Medium will not appear at all as part of the content (they will need to be added as an HTML embed and not like a link embed like is done on Medium).