Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BITLY-API
#1
This package was re-modified in the name of bitly-API
There is an issue with the bitly package.... Connection was unable to be imported.
In this new package. We have the connection library separate
I belive this would work... Please make sure you uninstall the previous package.

Code:
$ pip uninstall bitly_api


Installation:

Code:
$ pip uninstall bitly_api
-- if you had previously installed the library

now clone this :--


Code:
$ git clone https://github.com/harkerbyte/bitly-api-python


Usage:

Code:
$ cd bitly-api-python

$ python setup.py

$ python short.py[url]


Alternative

check here

Code:
$ git clone https://github.com/shade234sherif/bitly-free



Run test

Your username is the lowercase name shown when you login to bitly, your access token can be fetched using the following ( http://dev.bitly.com/authentication.html ):

curl -u "username:password" -X POST "https://api-ssl.bitly.com/oauth/access_token"
To run the tests either export the environment variable or set it up inline before calling nosetests:

bitly-api-python $
BITLY_ACCESS_TOKEN=<accesstoken> nosetests
API Documentation
http://dev.bitly.com/

FOR MORE TERMUX WORKING TOOLS AND COMMAMDS KEEP VISITING US?
WWW.SHOULDNET.NET
Your Donation is very much needed. thanks


Forum Jump:


Users browsing this thread: 2 Guest(s)