bitly / bitly-api-python

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

user_info of a user that is not the authenticated user #26

Closed cwarny closed 10 years ago

cwarny commented 11 years ago

Is it possible get the user_info of a user different from the authenticated user?

davemarchevsky commented 10 years ago

Yep, just use the /v3/user/info endpoint with the login parameter. Docs here.

The request should look like

curl "https://api-ssl.bitly.com/v3/user/info?access_token=$YOUR_ACCESS_TOKEN&login=some_login"