bannerBaka-UpdatesManga
Manga Poll
If the original is R19 (i.e., rated R), is it okay to adapt it into R15 (i.e., rated PG-13)?
Yes
No
No opinion
 
mascot
Manga is the Japanese equivalent of comics
with a unique style and following. Join the revolution! Read some manga today!

RSS Feed

MangaUpdates API Comments/Suggestions/Bugs

Pages (19[ 1 2 3 4 Last ] Next
You must be registered to post!
From User
Message Body
user avatar
Site Admin


3 years ago
Posts: 2852

If you have any comments, suggestions, or notice a bug with our new API, please report them here.

API: https://api.mangaupdates.com

Thank you!


user avatar
Member


3 years ago
Posts: 3

What rate limits are there, and are the 412 responses related to rate limits?


Post #797126 - Reply To (#797125) by BraveDude8
Post #797126 - Reply To (#797125) by BraveDude8
user avatar
Site Admin


3 years ago
Posts: 2852

Quote from BraveDude8

What rate limits are there, and are the 412 responses related to rate limits?

Yes.

So most read-only actions (including GET and most search related POST actions) are not limited, other than our typical DDOS protection (Edit: those will give you 429 errors).

Updates are limited, and differ based on the type of update you're doing. Generally we allow 1 update per every five seconds, but some actions allow a bit more or a bit less than that. We probably could update the docs to be a bit more forthcoming with what those limits are when we get some time.


... Last edited by Manick 3 years ago
Post #797127 - Reply To (#797126) by Manick
Post #797127 - Reply To (#797126) by Manick
user avatar
Member


3 years ago
Posts: 3

Thanks.


Member


3 years ago
Posts: 2

Thanks so much for this. I was wondering why my layout-based scraper broke yesterday, glad I can now replace it with something much less jank when I get a chance.


user avatar
Member


3 years ago
Posts: 52

Can you please provide an example of how to get the bearer token and send a request with it (preferably fetch)? Are there any CORS restrictions? I want to update my browser userscripts to use API instead of inefficient HTML parsing, which often triggered DDOS protection.


... Last edited by Klaster_1 3 years ago
Member


3 years ago
Posts: 9

(deleted)


... Last edited by endantarathr 3 years ago
user avatar
Member


3 years ago
Posts: 3

Another question - will you add an easy way to migrate old IDs to new IDs? i.e. some kind of endpoint you can batch send old IDs to and get the new IDs sent back.


Member


3 years ago
Posts: 1

With the release of the api, will it be possible to have an Android app? Why is an official app site missing on mobile?


... Last edited by Diavol90 3 years ago
Post #797156 - Reply To (#797146) by Klaster_1
Post #797156 - Reply To (#797146) by Klaster_1
user avatar
Site Admin


3 years ago
Posts: 2852

Quote from Klaster_1

Can you please provide an example of how to get the bearer token and send a request with it (preferably fetch)? Are there any CORS restrictions? I want to update my browser userscripts to use API instead of inefficient HTML parsing, which often triggered DDOS protection.

Under the account section there is a create session token operation. You can use that to login using username and password. It will return the JWT. The JWT is the same one that serves as your browser cookie. You also only have one session, so if you logout on the API or browser it will log you out on the other.

I think there are no current CORS settings. What would you need to get your script working? Originally we designed this to be used programmatically by a backend service, not by a browser, so I need to know more about your use case.


... Last edited by Manick 3 years ago
Post #797157 - Reply To (#797151) by Diavol90
Post #797157 - Reply To (#797151) by Diavol90
user avatar
Site Admin


3 years ago
Posts: 2852

Quote from Diavol90

With the release of the api, will it be possible to have an Android app? Why is an official app site missing on mobile?

It's "missing" because I'm the only developer, and I just don't have as much time as I used to. We're most likely going to ask the community for developer help next week. We think the most glaring thing that needs to happen is a new UX and UI if MU is going to stay relevant, so we're going to focus on that first now that the API is out.


Post #797158 - Reply To (#797150) by BraveDude8
Post #797158 - Reply To (#797150) by BraveDude8
user avatar
Site Admin


3 years ago
Posts: 2852

Quote from BraveDude8

Another question - will you add an easy way to migrate old IDs to new IDs? i.e. some kind of endpoint you can batch send old IDs to and get the new IDs sent back.

We won't at this point, but you can scrape the old URLs and capture the canonical url in the head tag. The 7 character strings are just based 36 encoded versions of the new ID.


user avatar
icon Member


3 years ago
Posts: 3

N/A


... Last edited by pylixir 2 years ago
user avatar
Member


3 years ago
Posts: 167

Please don't eventually delete the old links.... Given how many database sites (for instance mado, animebytes, mangadex, people trying to be helpful by posting a MU link) use those links and how many dead yet still visited sites reference those links, removing them would break so many things...
Not to mention how many scanlators have use those links to share manga info with each other... Removing them basically destroys that message history of they are broken


... Last edited by achyif 3 years ago
________________
Post #797161 - Reply To (#797160) by achyif
Post #797161 - Reply To (#797160) by achyif
user avatar
Site Admin


3 years ago
Posts: 2852

We don't have any plans to delete them.


Pages (19[ 1 2 3 4 Last ] Next
You must be registered to post!