Scrap Twitter member list using Tweepy in Raspberrypi

Problem: 
You need to populate date in a website and the source of this information is stored in a Twitter list, you need to read information of members in this list.

Solution:
You can do that scraping the information using Tweepy library, this library help to read information from twitter in a legal way.

First, you will need to create a Twitter app and register the corresponding tokens, etc...
Create you twitter application here: https://developer.twitter.com/en/portal/projects-and-apps 

This is a sample code to download the name of members in a specific list.

#Twitter bot to read information of members in a list
v_access_token = "**********"
v_access_token_secret = "**********"
v_consumer_key = "**********"
v_consumer_secret = "**********"

import tweepy

auth = tweepy.OAuthHandler(v_consumer_key, v_consumer_secret)
auth.set_access_token(v_access_token, v_access_token_secret)

api = tweepy.API(auth)

public_tweets = api.home_timeline()

slug = 'Twiter-List-Name'
owner = 'Twiter-Name'
list_id = 1153378345425632898

members = []

for page in tweepy.Cursor(api.list_members, list_id=list_id).items():
  members.append(page)
  print("@"+page.screen_name)