Giter Site home page Giter Site logo

dwiuzila / medium-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weeping-angel/medium-api

0.0 0.0 0.0 3.18 MB

Python Wrapper on top of Medium API to quickly extract data from Medium's website (https://medium.com).

License: MIT License

Python 100.00%

medium-api's Introduction

Medium API

PYPI Package Version PYPI Monthly Download Stats RTD Documentation Status

Github Actions Tests


What is Medium API?

Python Wrapper on top of Medium API (by Nishu Jain) to quickly extract data from Medium's website (https://medium.com).

Installation

Install from PyPI

$ pip install medium-api

Dependency: ujson

For more information, see Detailed Installation

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

How to get your RapidAPI Key (Subscribe to Medium API)

Steps:

For more details, see the following links:

Features

Extract/Scrape/Fetch/Get:

  • Medium User information and User-written Articles
  • Medium User's Followers and Following
  • Medium Articles information
  • Medium Article's Textual Content and Markdown
  • Medium Article's Responses/Comments
  • Medium Publications information
  • Medium Publication's Articles
  • Medium's Top Writers
  • Medium's Topfeeds (Trending, Latest, All time best, best of year/month/week)
  • Medium's LatestPosts (distributed articles)

Documentation

Full Documentation at https://medium-api.readthedocs.io

Other Materials

Medium REST API:

Related REST API Articles:

Miscellaneous Articles:

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/

medium-api's People

Contributors

dwiuzila avatar weeping-angel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.