medium-api 0.6.0
pip install medium-api
Released:
Python Wrapper on top of Medium API to quickly extract data from https://medium.com.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Nishu Jain
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Nishu Jain
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
Python Wrapper on top of Unofficial Medium API to quickly extract data from Medium’s website (https://medium.com).
Installation
Install from PyPI
$ pip install medium-api
Example
Getting a Medium user’s information and fetching his articles.
from medium_api import Medium
medium = Medium('YOUR_RAPIDAPI_KEY')
user = medium.user(username="nishu-jain")
print(f'{user.fullname} has {user.followers_count} followers.')
user.fetch_articles()
for article in user.articles:
print(article.title)
For more examples, see Usage
How to get your RapidAPI Key
Steps:
Sign up on RapidAPI Platform
Subscribe to our Unofficial Medium-API
Click on any of API’s Endpoints on the RapidAPI Hub listing <http://hub.mediumapi.com> and select the API key from the X-RapidAPI-Key header under App section.
For more detailed step by step guide, see:
Features
Extract/Scrape/Fetch/Get:
Medium User’s information and User-written Articles
Medium User’s Followers and Following
Medium User’s Publications and Books
Medium Articles information
Medium Article’s Textual Content and Markdown and HTML
Medium Article’s Responses/Comments
Medium Publications information
Medium Publication’s Articles
Medium Publication’s Newsletter Info
Medium’s Top Writers
Medium’s Topfeeds (Trending, Latest, All time best, best of year/month/week)
Medium’s LatestPosts (distributed articles)
Medium’s Recommended Feed, Users and Lists
Documentation
Full Documentation at https://medium-api.readthedocs.io
Other Materials
Medium REST API:
Swagger Documentation: https://docs.mediumapi.com
License
Free software: MIT license
EULA: Terms of Use
Code of Conduct
In the interest of fostering an open and welcoming environment, all contributors, maintainers and users are expected to abide by the Python code of conduct: https://www.python.org/psf/codeofconduct/
Project details
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Nishu Jain
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Nishu Jain
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file medium-api-0.6.0.tar.gz
.
File metadata
- Download URL: medium-api-0.6.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13488bda02362029bc10b1383e71c3e76d0797e6f026b9be48b267278f32558b |
|
MD5 | 18036734859598542d905a402a55c88a |
|
BLAKE2b-256 | 544a967dab927d97c7302473058b962fdadd29fd829a5e8fe558deeb1c2632af |
File details
Details for the file medium_api-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: medium_api-0.6.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9579bbc990d359f7932ee7d8cf70f5dd5d264be4d0ead3157b4a1d9a15efae7 |
|
MD5 | 461ba0883b885a588fcbe98ea7d53fab |
|
BLAKE2b-256 | a802006546981365f77b51cc9014a7cdfe5f64e3a8ead9efe124efc9ed440b0f |