Skip to content

Instantly share code, notes, and snippets.

@talfco
Created February 4, 2019 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save talfco/431e88b26227bc7f77b94663d11addc1 to your computer and use it in GitHub Desktop.
Save talfco/431e88b26227bc7f77b94663d11addc1 to your computer and use it in GitHub Desktop.
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