Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.7 KB

File metadata and controls

62 lines (39 loc) · 1.7 KB

followercounter

Under Construction

Under construction

You will be able to get your follower counter for the social medias:

  • Youtube
  • Twitter
  • Instagram

Installation

Use the package manager pip to install followercounter.

pip install followercounter

Usage

from followercounter import youtube, instagram, twitter

# Get your Youtube Key on https://console.developers.google.com on "Google Data Api v3"
youtube('<YOUR__KEY>', 'studiom4') # returns '205312'
instagram('<access_token>') # returns '1334'
twitter('novatics') # returns '130'

Getting your access_token for Instagram

To get the access_token first you need to register an application here and then follow the instructions here to authorize your application to access your profile data

Getting your access_token for Twitter

To get the access_token first you need to create an application here and then follow the instructions here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Setup environment

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running tests

python -m pytest tests/

License

MIT