Skip to content

Instantly share code, notes, and snippets.

View fratamico's full-sized avatar

Lauren Fratamico fratamico

View GitHub Profile
@fratamico
fratamico / twitter_collection_examples.py
Last active June 19, 2020 15:46
Creating a Twitter Collection via API
import json
from requests_oauthlib import OAuth1Session
# For a blog post describing this process more, see:
# https://medium.com/analytics-vidhya/creating-a-twitter-collection-via-api-1378ecfe20df
api_key = 'your api key'
api_secret_key = 'your api secret key'
access_token = 'your access token'