https://github.com/cfultz/mtgrandomscryfallbot
The is a Mastodon bot that pulls a random Magic: The Gathering card from Scryfall and toots it correctly to a Mastodon instance with full description and hashtags
https://github.com/cfultz/mtgrandomscryfallbot
magic-the-gathering mastodon-bot python scryfall-api
Last synced: 3 months ago
JSON representation
The is a Mastodon bot that pulls a random Magic: The Gathering card from Scryfall and toots it correctly to a Mastodon instance with full description and hashtags
- Host: GitHub
- URL: https://github.com/cfultz/mtgrandomscryfallbot
- Owner: cfultz
- License: mit
- Created: 2024-02-09T14:07:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T00:20:32.000Z (almost 2 years ago)
- Last Synced: 2026-03-03T22:38:57.857Z (4 months ago)
- Topics: magic-the-gathering, mastodon-bot, python, scryfall-api
- Language: Python
- Homepage: https://cfultz.com/@RandomMagic
- Size: 565 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MTG Random Scryfall Bot
The is a Mastodon bot that pulls a random Magic: The Gathering card from Scryfall and toots it correctly to a Mastodon instance with full description and hashtags.

## Requirments
- Mastodon.py (pip install Mastodon)
- python-dotenv (pip install python-dotenv)
## How to Use
- Clone repository
- Create file called ``.env`` and place Mastodon Access Token and API URL inside
```
token = RANDOMTOKENHERE
url = MASTODONURLHERE
```
- Save and run the bot. eg: ``python MTGMastodonBot.py``
## TODO
- Add ability to have the bot respond to specific card search queries from users and reply
- ???