Replies: 9 comments 1 reply
-
Yes. We can do that and I even thought about the execution before but that would require a lot of time to execute plus it would need a dedicated database that supports media files like |
Beta Was this translation helpful? Give feedback.
-
@rocktimsaikia What if you send the image as base64 in the response?; you can store it as text in the mongodb document |
Beta Was this translation helpful? Give feedback.
-
@AndresMorelos That would still require a lot of time. To get the images first then linking to their corresponding characters. So I don't plan on investing time in adding this feature for now. Although I never tried it with MongoDB before I am sure it would not optimize the images. I only prefer MongoDB for text-based data storage, not for media storage. Maybe in the future, If I ever get time I will think about it. |
Beta Was this translation helpful? Give feedback.
-
@rocktimsaikia why don't you add the images as some sort of link. Like imgur links? If users every needed to extract image data, they could do so within their own code. |
Beta Was this translation helpful? Give feedback.
-
For a personal project I am using the AniList API. I'm taking the character name I get of a quote by animechan and form a simple GraphQL query. This is what my query looks like:
Inside the response I get a link to an image of the character. In this case: Maybe this can help you @ThanksILoveYouWithAllTheRespect. |
Beta Was this translation helpful? Give feedback.
-
just thought copyright law might be worth mentioning, as you'd need permission from each studio/publisher to use the image(s) in question, to be legally allowed to serve it to the end user(s) |
Beta Was this translation helpful? Give feedback.
-
I don't think studios would bother about having an API that shows their info. Do you really think that MAL/AL/Kitsu/etc ask every studio if they can use the cover? |
Beta Was this translation helpful? Give feedback.
-
I have an idea of how this could be done, but I don't want to fetch 1000 images on my own for every character and anime that is in the db, besides it would take some time and effort for me to setup and test, |
Beta Was this translation helpful? Give feedback.
-
Can find an api which provides these... |
Beta Was this translation helpful? Give feedback.
-
and if there's any way to access all the characters names 👍
Thanks for the API
Beta Was this translation helpful? Give feedback.
All reactions