osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
378 stars 60 forks source link

BotOrNot object doesn't have attribute 'check_accounts_in' #7

Closed tofunth closed 7 years ago

tofunth commented 7 years ago

Dear botornot's authors,

I am sorry if my issue is too basic.

I tried to follow the quick guide to check a list of 180 twitter user accounts in Python. I got the message AttributeError: 'BotOrNot' object has no attribute 'check_accounts_in'

I then switched to use 'check_account' using list comprehension, but when the list had more than 1 user, it gave the error tweepy.error.TweepError: Not authorized.

I installed botornot from pip and its version is 0.2.

Thanks, Hieu

tofunth commented 7 years ago

Actually some users gave the exception tweepy.error.TweepError: Not authorized., not because the list is more than one. I can use 'check_account' with a for loop at the moment.

Hieu

clayadavis commented 7 years ago

The version on pip is 0.2 whereas the version here is 0.3-alpha. This is my fault for not releasing 0.3 sooner. Do you know how to install from Git? Could you help test the check_accounts_in method?

tofunth commented 7 years ago

I installed botornot-0.3a0 from the git repo and the method check_accounts_in worked fine. Thank you for the help!

clayadavis commented 7 years ago

@tofunth FYI I released 0.3 on PyPI today, so it should be pip installable.