Closed henesy closed 10 months ago
Sounds like you were able to get this working with the current api hooks. I am unlikely to open this up publicly, but I also won't leave you hanging.
I'm not going to document it all, but if I decide to close it off I'll supply you with an api key so you can keep making your awesome bot.
Mentioned in the GG Discord.
Currently the flow would be something like as follows, as far as I can tell.
Get all(?) the monsters in the db
-> GET
dccmonsters.com/monster/GetMainDatatable?skip=0&take=25&requireTotalCount=true&sort=[{"selector":"name","desc":false}]&_=1695350260667
<- JSON body in the formGet a set of monsters by key word (probably) in this case 'bat'
-> GET
dccmonsters.com/monster/GetMainDatatable?skip=0&take=25&requireTotalCount=true&sort=[{"selector":"name","desc":false}]&filter=["name","contains","bat"]&_=1695350262519
<- JSON body in the form same as the 'get all', but this time it will have fewer entries:Get the specific monster by serial index, including detail stats in DCC form(?)
-> GET
dccmonsters.com/monster/GetMonster/574
<- JSON body in the formThis alone is probably enough to get by for programming a discord bot against
Is the DCC to/from 3.5 stats all done in JS? I didn't look closely and the API looks like it returns the DCC stats
Thanks for making this!