<aside> <img src="/icons/coffee_orange.svg" alt="/icons/coffee_orange.svg" width="40px" /> If you are using the personal version, this is a tutorial on how to use the API with Python. Given it comes with a complete database of magic the gathering cards and sets, I would highly appreciate if you could please buy me a coffee here:
Support Nerdy Momo Cat on Ko-fi! ❤️. ko-fi.com/nerdymomocat
</aside>
<aside> 🐦 The twitter thread for the build process is here
https://twitter.com/nerdymomocat/status/1635839549866905601
</aside>
<aside> <img src="/icons/code_gray.svg" alt="/icons/code_gray.svg" width="40px" /> The replit code that you should fork
notion_api_key
, cards_db_id
, sets_db_id
*And then paste this code into main.py*
</aside><aside> <img src="/icons/code_gray.svg" alt="/icons/code_gray.svg" width="40px" /> I want to run it on my PC instead
That is cool, it will run 10x faster, so that is great!
poetry new mtg_notion
cd mtg_notion
poetry add scrython
poetry add notional
poetry add requests
notion_api_key
, cards_db_id
, sets_db_id
T*hen paste this code into main.py*
poetry run python3 main.py
</aside>