GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Add `find` endpoint #223

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

Relevant issue: Closes #186.

Description:

This will move most of the functionality of the /find command from Buttercup to Blossom. This has several advantages:

In particular, this endpoint takes any Reddit URL (ToR submission, partner submission or transcription; new or old Reddit) and returns the corresponding Blossom objects.

Future Work

Also accepting claim and done URLs. They can't be translated to the submission URL directly, so they are a bit harder to handle.

Checklist: