banner_jpg
Username/Email: Password:
Forums

MangaUpdates API Comments/Suggestions/Bugs

Pages (9) [ 1 2 3 4 Last ] Next
You must be registered to post!
From User
Message Body
Post #797120
user avatar


8:49 am, May 14 2022
Posts: 2658


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

9:19 am, May 14 2022
Posts: 3


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

Post #797126 - Reply to (#797125) by BraveDude8
user avatar


9:24 am, May 14 2022
Posts: 2658


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 at 9:26 am, May 14 2022

Post #797127 - Reply to (#797126) by Manick
user avatar
Member

9:38 am, May 14 2022
Posts: 3


Thanks.

Post #797140
Member

9:55 pm, May 14 2022
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

12:57 am, May 15 2022
Posts: 50


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 at 1:03 am, May 15 2022

Member

3:03 am, May 15 2022
Posts: 9


(deleted)

Last edited by endantarathr at 8:42 pm, May 28 2022

user avatar
Member

3:40 am, May 15 2022
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:46 am, May 15 2022
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 at 3:46 am, May 15 2022

Post #797156 - Reply to (#797146) by Klaster_1
user avatar


6:07 am, May 15 2022
Posts: 2658


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 at 6:08 am, May 15 2022

Post #797157 - Reply to (#797151) by Diavol90
user avatar


6:11 am, May 15 2022
Posts: 2658


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
user avatar


6:13 am, May 15 2022
Posts: 2658


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.

Post #797159
user avatar
 Member

6:15 am, May 15 2022
Posts: 3




Last edited by pylixir at 5:08 am, Mar 15 2023

Post #797160
user avatar
Member

6:41 am, May 15 2022
Posts: 166


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 at 6:42 am, May 15 2022

________________
User Posted Image

Recruiting:
https://quicksandscans.wordpress.com/recruitment/
Post #797161 - Reply to (#797160) by achyif
user avatar


6:45 am, May 15 2022
Posts: 2658


We don't have any plans to delete them.

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