-
Notifications
You must be signed in to change notification settings - Fork 0
J Novel API
J-Queue uses the undocumented J-Novel API. Since the API is undocumented, it could change at anytime and thus break this extension.
J-Queue uses the series API (api.j-novel.club/api/series) to retrieve the Light Novel Series that are available on J-Novel site. J-Queue uses the API to construct the Novel List available from the options menu.
J-Queue uses the chapter API (api.j-novel.club/api/series?findOne?filter={"where: {""},"include":["parts"]}) to retrieve the available chapter for each Light Novel series a user is watching. J-Queue polls this API once a day to retrieve the latest chapter list. It only polls the API for the Light Novels the user is following.
J-Queue uses the user API (api.j-novel.club/users/) to retrieve the chapter's a user has already read. This API requires user authentication. J-Queue watches for HTTP Request to api.j-novel.club/api/users/. When it observes a request, it caches the user id and the session identifier for the request. Therefore, the user must be logged in to J-Novel for their queue to be displayed. J-Queue is only available when the user is viewing the J-Novel site. Also, if an authentication failure occurs, J-Queue displays a message letting the user know they must be logged into their account.