Skip to content

mknepprath/pokemon-facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokémon Facts

A bot that tweets random Pokémon facts.

Set up:

  1. pip install Mastodon.py.
  2. Export environment variables.
  3. python3 {filename} to run.

Environment Variables

Environment variables can be fetched from AWS. They should be added to this repo in a file called .env.local:

MASTODON_CLIENT_KEY=...
MASTODON_CLIENT_SECRET=...
MASTODON_ACCESS_TOKEN=...

Publishing

Dependencies

To deploy this app, run:

sh deploy.sh

main.py

This script fetches a card from a Pokémon API and posts it.