Skip to content

wepeqoor1/bitlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitly url shorterer

Generate short link(Bitlink) from URL and gives total clicks from Bitlink.


How to install

Python3 should be already installed. Then use pip (or pip3, if there is a conflict with Python2) to install dependencies:

$ pip install -r requirements.txt

How to use

Register on Bitly service https://bitly.com/

Sign up for Bitly via email instead of social media. This will make it easier to get the token.

Need token "GENERIC ACCESS TOKEN".

Environment variables

Create .env file and paste BITLINK_API_TOKEN=<API_KEY>.

Start script

$ python3 main.py <argument>

Optional arguments:

-h - Program information

Positional arguments

link - Enter URL or Bitlink

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages