Git Product home page Git Product logo

Comments (3)

LetrixZ avatar LetrixZ commented on June 22, 2024 1

Done.

from animethemes-api.

LetrixZ avatar LetrixZ commented on June 22, 2024

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.

thesadru avatar thesadru commented on June 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.