bitly-api-python
bitly-api-python copied to clipboard
python library to the bitly api
Hello everyone, When I look at the documentation for python I cannot find any documentation for python code. Is there any other page I can refer to?
There is a bug of import in Python 3.5 to the following packages Connection, BitlyError and Error. The error has origin in moment of importing, I think better use path...
The `Connection._call` timeout argument defaults to `5000` but seems to be unused. https://github.com/bitly/bitly-api-python/blob/master/bitly_api/bitly_api.py#L774
I ran pip install bitly_api then I downloaded https://github.com/bitly/bitly-api-python/blob/master/test/test_bitly_api.py I set the environment variable BITLY_ACCESS_TOKEN to my access token and then ran nosetests All tests fail and report BitlyError: (77,...
To make API work with Python 2.5 where required json module is not available and make it work with simplejson (v2.1.6)
The method takes only a long URL: https://github.com/bitly/bitly-api-python/blob/master/bitly_api/bitly_api.py#L392 ...but the API documentation says that the endpoint accepts "a long URL or a Bitlink" with commensurate parameters for each. http://dev.bitly.com/links.html#v3_link_lookup
As per Bitly API documentation there should be optional parameters 'login' and 'full_name' for getting information about particular user, so modified user_info method Method link_encoders_by_count is missing. hence I added...
Added the ability to save a Custom Bitlink for a custom short domain.
The clicks_by_day parameter is deprecated but still works and it returns a historic list of clicks per day (unlike, as best I can tell, v3/link/clicks). clicks_by_day accepts a 'days' parameter...