Git Product home page Git Product logo

Comments (5)

Chortowod avatar Chortowod commented on September 24, 2024 1

That's all I needed, thank you so much! I appreciate that!

from animethemes-api.

LetrixZ avatar LetrixZ commented on September 24, 2024 1

I made the lists to be cached with Redis to avoid timeouts. Only not paginated lists are the most recent data.

from animethemes-api.

LetrixZ avatar LetrixZ commented on September 24, 2024

By all theme_id's, do you mean, all IDs for an anime or all in the database?
EDIT: I added those two latest added functions. They were also available before by using arguments in the request.
For example: https://animethemes-api.herokuapp.com/api/v1/latest?type=theme&limit=25
or https://animethemes-api.herokuapp.com/api/v1/latest?type=anime&limit=10

from animethemes-api.

Chortowod avatar Chortowod commented on September 24, 2024

Thanks! Works great.
I mean all in the database. If it stored in one place it won't be a problem, but if it parse site for every theme_id - I suppose it would be long, right?

from animethemes-api.

LetrixZ avatar LetrixZ commented on September 24, 2024

Because the anime and themes are in separate tables, and because I'm using a free database, if you want all in the database, I can only give you the basic info without matches (anime with the list of theme-id's).
Added

  • 'list/anime': this will return all the anime in the DB without theme info -> this will return almost 4k entries
  • 'list/anime/:page': this will return all the anime in the DB with theme info with pagination.
  • 'list/theme': this will return all the themes in the DB -> this will return aprox 12k entries
  • 'list/theme/:page': this will return all the themes in the DB with pagination

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.