Comments (3)
Done.
from animethemes-api.
Actually, for getting the media (video or audio) you need to request:
api/v1/anime/[id]/[theme]/[quality or mirror]/[video/audio]
Could you give me an example of what do you want?
EDIT: do you mean that in the anime details it should have alongside the mirror object a url that leads directly to audio as it does to the video file?
{ "malId": 40060, "title": [ "BNA", "Brand New Animal" ], "cover": "https://cdn.myanimelist.net/images/anime/1139/106986.jpg", "season": "Spring 2020", "year": 2020, "themes": [ { "title": "Ready to", "type": "OP V1", "mal_id": 40060, "theme_id": "40060-00", "notes": "", "views": 4, "mirrors": [ { "quality": "default", "mirrorUrl": "https://animethemes.moe/video/BrandNewAnimal-OP1.webm", "audioUrl": "https://animethemes-api.herokuapp.com/api/v1/anime/40060/0/0/audio", "appUrl": "40060/0/0" } ], "artist": null }, { "title": "Ready to", "type": "OP V2", "mal_id": 40060, "theme_id": "40060-01", "notes": "", "views": 0, "mirrors": [ { "quality": "default", "mirrorUrl": "https://animethemes.moe/video/BrandNewAnimal-OP1v2.webm", "audioUrl": "https://animethemes-api.herokuapp.com/api/v1/anime/40060/1/0/audio", "appUrl": "40060/1/0" } ], "artist": null },... ] }
from animethemes-api.
Yes, having the audio link alongside the video link will simplify a few things and makes it so that there is no need to call for the API again.
from animethemes-api.
Related Issues (9)
- issue with the use of "/" to search animes like Fate/Zero HOT 1
- Get [theme_id] of all songs HOT 5
- "Anime not found" for Winter 2021 anime HOT 2
- Cors issues HOT 1
- Authors of the songs HOT 3
- Implement a function to get just the links, making it possible to use this API without additional code.
- Mal and Anilist lead to planned anime too, implement a filter to get only certain statuses. HOT 1
- Remove the login secrets from the Code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animethemes-api.