Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IoT_Party_Parrot/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
bear = secrets['bearer_token']

# query URL for tweets. looking for hashtag partyparrot sent to a specific username
DATA_SOURCE = ('https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy')
DATA_SOURCE = 'https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy'
# json data path to get most recent tweet's ID number
DATA_LOCATION = ["meta", "newest_id"]

Expand All @@ -33,7 +33,7 @@
matrix = Matrix(width=32, height=32)
display = matrix.display

group = displayio.Group(max_size=20)
group = displayio.Group()

# load in party parrot bitmap
parrot_bit, parrot_pal = adafruit_imageload.load("/partyParrotsTweet.bmp",
Expand Down