Skip to content

Instantly share code, notes, and snippets.

View ianmas-aws's full-sized avatar

Ian Massingham ianmas-aws

  • Amazon Web Services
  • UK
View GitHub Profile
from requests_oauthlib import OAuth1Session
import os
CONSUMER_KEY = os.getenv("CONSUMER_KEY")
CONSUMER_SECRET = os.getenv("CONSUMER_SECRET")
ACCESS_KEY = os.getenv("ACCESS_KEY")
ACCESS_SECRET = os.getenv("ACCESS_SECRET")
twitter = OAuth1Session(
CONSUMER_KEY,
client_secret=CONSUMER_SECRET,