Skip to content

Latest commit

 

History

History
95 lines (74 loc) · 2.1 KB

README.rst

File metadata and controls

95 lines (74 loc) · 2.1 KB

medium-article-py

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.

Installation

You can install this library using pip.

pip install medium-article-py

Usage

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

Contributing

Support

engrmuhammk

LICENSE

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.