Created
February 4, 2019 22:10
-
-
Save talfco/68f3755e0c4bb3d6cbf134acec001ce1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_government_members(self): | |
lists = self.__api.lists_all('SoMePolis') | |
for list in lists: | |
if list.name == 'BundesparlamentarierInnen': | |
result = [] | |
for item in tweepy.Cursor(self.__api.list_members, list_id=list.id).items(): | |
result.append(item) | |
return result | |
return None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment