haswellr / CritterDB

A web application to help you find and create custom creatures and NPCs for the 5th edition of the world's greatest role playing game.
http://www.critterdb.com
53 stars 15 forks source link

Is there an API to import monsters into Python bot? #54

Closed the-machine-preacher closed 4 years ago

the-machine-preacher commented 4 years ago

Is there an API to import monsters into Python bot? I'm pretty sure there is one as Avrae is able to do it! Specifically, how do I get the token, critter and database id?

I wrote a Python Discord bot and I wished to download the monsters for "Descent into Avernus": https://critterdb.com/#/publishedbestiary/view/5e7538d59bfcf04c995356a3

The monster I wished to get is the "Abyssal Chicken", which is the first one. How do I get the token, database and critter id to get it?

haswellr commented 4 years ago

Responded via email.

TLDR:

the-machine-preacher commented 4 years ago

Hey, thanks for that! Just one more question: how do I find the name and author of the the actual bestiary itself? For instance, of the aforementioned bestiary: https://critterdb.com/api/publishedbestiaries/5e7538d59bfcf04c995356a3