A Python library designed to retrieve articles and user information from Medium. This library offers an easy-to-use method for developers to incorporate Medium content into their applications.
You can install this library using pip.
pip install medium-article-py
Here is a simple example to get you started:
from medium_article_py.medium import MediumArticles
username = '<your-medium-username>'
md = MediumArticles()
print(md.get_profile_url(username))
# Output: https://medium.com/feed/@engrmuhammadusman108
Function | Arguments | Output |
---|---|---|
getData | username : string | string |
getProfileUrl | username : string | string |
getProfileTitle | username : string | string |
getProfileAuthor | username : string | string |
getProfileDescription | username : string | string |
getProfileImageUrl | username : string | string |
getLatestArticleTitle | username : string | array[string] |
getLatestArticlePublicationDate | username : string | string |
getLatestArticleUrl | username : string | string |
getLatestArticleDescription | username : string | html |
getLatestArticle | username : string | object |
getLatestArticlesTitle | username : string | string |
- [Misbah Afzal](https://github.com/misbahafzal)
- [Muhammad Usman](https://github.com/muhammad-usman-108)
This project is licensed under the MIT License - see the [LICENSE](https://github.com/muhammad-usman-108/medium-article-py/blob/main/LICENSE) file for details.