Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

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

Open
thesadru opened this issue Aug 24, 2020 · 0 comments

Comments

@thesadru
Copy link

thesadru commented Aug 24, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant