Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

The Python API for

Project description

PyPI Python Version Wheel Implementation Downloads License

The Youtuber rezo create a social media charts and statistics page. I developed this small Python API for it. It also includes a small CLI so you can write your own bash script or review the new media charts from the command line.

Why? is very pretty, but I find the raw data much more exciting. I looked through the http traffic and catches the most important API calls. Pynindo bind everything together and make it easy to get the different raw data.

How to install?

It is Python, so uses pip:

pip install pynindo

Maybe it’s not on PyPi yet. Shame on me. But then you can try that:

pip install git+

Anyway do not forget to use a virtual environment ;-)

How to use?

It is really simple. Import the api from the pynindo package and then play with it. There is a list with all Endpoints below:

>>> from pynindo import api
 1    1365880 UnsympathischTV
 2    1288557 KMNGang
 3    1228038 BangerMusik
 4    1122593 Kontra K
 5    1063852 Rezo
 6     997038 MontanaBlack
 7     991567 Mert
 8     961703 BibisBeautyPalace
 9     936666 Julien Bam
10     864054 Varion
>>> api.viral.tiktok
platform:tiktok |      type:likes |  2500000 Anna Ix
platform:tiktok | type:kommentare |   141100 Mido
platform:tiktok |      type:views | 60400000 Anna Ix

This are only the string representation of the data. Call .json() on any endpoint to get the raw data.:

[{'id': '18ed6dae1cf050a2b3bc65f72ef1db0d', 'name': 'Rezo', '_channels': [{'name': 'Rezo ja lol ey', 'platform': 'youtube', 'avatar': '', 'userID': 'UCvU1c8D5n1Rue3NFRu0pJSw'}, {'name': 'Rezo', 'platform': 'instagram', 'avatar': '', 'userID': '2200749531'}, {'name': 'Rezo', 'platform': 'tiktok', 'avatar': '', 'userID': '6651546051420913670'}, {'name': 'Rezo', 'platform': 'twitter', 'avatar': '', 'userID': 'rezomusik'}, {'name': 'rezo', 'platform': 'youtube', 'avatar': '', 'userID': 'UCLCb_YDL9XfSYsWpS5xrO5Q'}], 'avatar': ''}]

As a script

Now we can write a small script, to display more information to the top Youtuber:

from pynindo import api

for item in

See the examples folder for more funny stuff.

Many ways to call

There are many ways to call the API. All endpoints have the __getitem__ attribute. That means:


is the same as:

>>> api['milestones'].new


>>> api['milestones']['new']


>>> api.milestones['new']

Same thing for everyone, but watch out a bit with search and artist.

Callable root

The second important part is the callable root api. You can enter the endpoints, by calling the api itself:

>>> api('charts', 'youtube', 'rank')

is the same as:


The api class

For some advanced use, you can create the api object yourself:

from pynindo.nindo import Api
api = Api

Command line interface

Yes there is one, try it:

$ pynindo -h
$ pynindo charts -h
$ pynindo viral -h


Like, the api has multiple sections. The placeholders platform and type have the following content:

platform = {youtube|instagram|twitter|tiktok|twitch}
type = {likes|kommentare|views|retweets|max. zuschauer|längster stream}



The current charts to each platform. Each platform has several individual subcategories. Examples:



Lists all posts that were viral last month. The data are also grouped by the platform and the type. Examples:




Any artist who has or will soon reach a particular number of followers. Examples:




All data belonging to an artist. Examples:



Virtual environment windows:

python -m venv venv

Virtual environment linux:

python3 -m venv venv
source venv/bin/activate

Setup project:

python -m pip install --upgrade pip wheel setuptools coverage flake8 pylint tox
python -m pip install -e .

Create test data:

python .\tests\

Run some test:

tox -p auto

Run single test with code coverage:

coverage run --source=pynindo -m unittest discover -v
coverage report -m

Check syntax:

flake8 pynindo
pylint --rcfile=setup.cfg pynindo

Create package:

python -m pip install --upgrade twine
python sdist bdist_wheel
twine check dist/*
twine upload dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pynindo, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pynindo-0.1.2-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pynindo-0.1.2.tar.gz (243.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page