animethemes-api icon indicating copy to clipboard operation
animethemes-api copied to clipboard

Implement a function to get just the links, making it possible to use this API without additional code.

Open ashleney opened this issue 5 years ago • 0 comments

the problem

Right now using the API requires additional code to be used which could be easily solved by implementing the most used features right in the API.

solution

I would ideally start out with just getting all the links to audio/video files. There can be arguments, but I personally think that at that point, you should implement your own code.

implementation

I personally suggest /links/<file_type>/<normal_path> which would for example be /links/audio/mal/letrixZ/ and that would return a file with all audio links of every theme (only the first of each version) of every anime in letrixZ's anime list. or /links/video/anime/40060/ which would return all video links of BNA.

advantages

No need to know how to code will let a ton more people to use the API.

disadvantages

The API might start being more focused on users that don't know how to code. This should be avoided as these features should only be considered side features.

ashleney avatar Aug 24 '20 10:08 ashleney