bitly / bitly-api-python

python library to the bitly api
http://github.com/bitly/bitly-api-python
Other
244 stars 92 forks source link

Is link_lookup supposed to optionally take a bitlink url? #37

Open jMyles opened 8 years ago

jMyles commented 8 years ago

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