You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2021. It is now read-only.
Assuming we will save all transcriptions in a db in the upcoming rewrite, it would be nice to expose an API that would allow other bots (namely ToR-Stats, soon to be merged with ToR Genius) to do computations and show information about someones transcriptions. Possible endpoints:
/:user → Info on a certain Redditor, like total transcriptions, or other info
/:user/transcriptions → Get a list of all user transcriptions
/:user/transcriptions?extra=true → Get a list of all user transcriptions, including the post contents (so it's easily searchable)
A system like that should be relatively easy to implement, and could also lead to more automation with things like role assigns in Discord.
Another thing to thing about is adding webhooks. Basically we could make a request to a list of URLs when a certain event occurs like "transcription marked done", or "user moved up a transcription rank". This could also help with some automation on the Discord.
All of this is relatively easy to implement, so we can probably add this in v4.0.0.
Assuming we will save all transcriptions in a db in the upcoming rewrite, it would be nice to expose an API that would allow other bots (namely ToR-Stats, soon to be merged with ToR Genius) to do computations and show information about someones transcriptions. Possible endpoints:
/:user→ Info on a certain Redditor, like total transcriptions, or other info/:user/transcriptions→ Get a list of all user transcriptions/:user/transcriptions?extra=true→ Get a list of all user transcriptions, including the post contents (so it's easily searchable)A system like that should be relatively easy to implement, and could also lead to more automation with things like role assigns in Discord.
Another thing to thing about is adding webhooks. Basically we could make a request to a list of URLs when a certain event occurs like "transcription marked done", or "user moved up a transcription rank". This could also help with some automation on the Discord.
All of this is relatively easy to implement, so we can probably add this in v4.0.0.