Bug Report: botb api spoils ohb entries
BotB Academy Bug Reports and Feature Requests
 
 
107185
Level 30 Chipist
post #107185 :: 2019.02.05 10:11am
  
  Yung Gotenks, KungFuFurby, raphaelgoulart, Slimeball and MiDoRi liēkd this
okay so you can get a specific entry by loading the id:
http://battleofthebits.org/api/v1/entry/load/56
and thats cool, because i save mp3-renders only with the id as filename sometimes and its a fast way to get the entry-url.

but you can also do this with entries submitted to an ongoing ohb and it will give out the name and botbr before the ohb ends.
would be cool to hide ohb-entries as long as the battle is not closed
 
 
117121
Level 28 Hostist
post #117121 :: 2020.01.20 4:59pm
  
  Tilde and kleeder liēkd this
I spent some time trying to figure out how to wedge this data abstraction into the api and realized it'd be an interesting challenge. I wrote it up in the private github repo as an issue.

ideally this would be done on the way through the api
doing it at the immediate object/class level could be dangerous (overwrites)
 
 

LOGIN or REGISTER to add your own comments!