Closed ShrinkWrapper closed 2 weeks ago
Hi, I didn't understand exactly how to integrate it with Mantium. Can you explain more? A practical example would be great.
First thing that came to mind would be to add a inline search box that utilizes the API search (https://api.mangaupdates.com/v1/releases/search) for Manga Update, for instance like this:
When you search something there it would open a modal popup in mantium, showing the results from Manga Update. You then click on the manga you want to add and the rest uses the same mechanics.
There's another project I use for tracking anime and Games, they use tmdb and igdb for this way of adding media internally. https://github.com/bonukai/MediaTracker That project does it like this. If I search in the tv category for Heavenly Delusion it will find the anime with tmdb.
Thank you very much for the images, they explain well how it would integrate into the interface. But how will Mantium track this manga?
After Mantium searches a list of mangas using the mangaupdates API and the user selects a manga within this list, what should Mantium do with this manga info from the mangaupdates API?
I see a "Get Chapters" button on the image you provided, would Mantium get the chapters list from the mangaupdates API? Does it make them available with links to the actual chapters, so that the user can click on the links in the Mantium dashboard and be redirected to the chapter to read it?
ah no, my bad for not explaining that part. Mangaupdates would just be a plain text based way of tracking mangas. I dont read my mangas on any of the external sites, I get the volumes/chapters from other means. So using mangaupdates would just be a built in legit way of tracking a manga without actually linking to anything externally.
That's maybe not what you envision for the project, but just figured it would be nice to have a non external source for normal tracking.
The get chapters from mangaupdates api would perhaps me able to use this value "latest_chapter": 65,
from the json payload
and just fill in a list of 65 chapters in the list without actually linking to anything.
But totally get if this isnt the way you want to take this 😄
Mantium's purpose is tracking manga from different sources, mangaupdates would just be another source, so I don't see a problem with adding it to Mantium.
The mangaupdates API has a route to get a feed with all chapters of the manga, so I can create the chapters list from this. The user will select the last read chapter from this list, and Mantium will be able to get the latest released chapter too. The chapters' links will redirect to the manga page on mangaupdates. It won't show the date of the last released chapter though, seems like it's not returned by any API route. I can show the release group instead.
The only problem is adding a manga to Mantium. The manga ID used by the API is not in the manga URL on the mangaupdates site, so I would need to do like in your images, getting the list of mangas and displaying it so that the user can select one of them.
Searching instead of providing the manga URL was my original thought for Mantium, but the library I used to create the dashboard (called streamlit) didn't have a good option to do it when I created Mantium, but now it has one.
There are some other things I plan to add to mantium, and I mostly work on the project on weekends, so I think I can add the mangaupdates source in one or two weeks from now.
Nice, sounds good! Looking forward to see future updates! And thanks for taking the time out of your day to work on this 😎
@ShrinkWrapper I released Mantium v1.0.0 with the mangaupdates source and other changes.
There is a limitation with the mangaupdates source though. The chapters are listed by upload date in Mantium. This means that if a group uploads chapter 2 from a manga that another group already uploaded 50 chapters previously, chapter 2 will be considered the last chapter released. This is a limitation of MangaUpdates that can't properly sort the chapters by chapter number, so I had to use release date instead.
Nice, update looks great! Thanks for the quick turnaround as well, much appreciated. Totally fine with using the date like you have now. Do you have a donation link somewhere btw, would love to contribute!
@ShrinkWrapper Glad you liked it! I have a Kofi page https://ko-fi.com/diogovalentte if you want to donate.
Been using mantium for a while now and find it very useful for tracking my mangas!
Was wondering if it would be possible to add mangaupdates.com as a source at some point? The way it differs from the current sources is that it doesn't actually host any manga. Its more of a database/wiki like imdb making it a bit more proper then relaying on the metadata off piracy sites. They offer an API as well for browsing the database. https://api.mangaupdates.com
This could perhaps be implemented as the base form of adding sources in mantium without having to rely on trackers and adding urls.
Example of API result for the manga Heavenly Delusion:
GET: https://api.mangaupdates.com/v1/series/45702686526