Open sebbu2 opened 4 years ago
There is a API endpoint (the webpage editing facilities operate using the API), I've just not documented them.
For the moment, you probably want to look at editable.js
and process_series_update_json
which lives behind the series-update
api endpoint.
The one thing I don't have currently is a API endpoint for creating series, but I can add that pretty easily. Otherwise, all the editing stuff on the site is implemented via the API as-is using client-side JS.
I got a weird 500 error when using the series-updates endpoint:
{"mode": "series-update", "item-id": 47429, "entries": [ { "key": "website-container", "type": "singleitem", "value": "https://www.webnovel.com/book/abyss-domination_11479586806389905" } ] }
instead of adding the website to the entry, it returns a 500 error.
others edit works, but returns
{"error": false, "message": "Wat?!"}
others edit works, but returns
{"error": false, "message": "Wat?!"}
looks like it's working correctly, but that's a terrible return message
I'll change that to something more reasonable.
Not sure what's going on with the series-update endpoint. I'm kind of moving at the moment, I'll see if I can get some time together.
When I tried to uniformise my reading lists between wlnupdates and webnovel, I found out some novels i read on webnovel aren't on wlnupdates. I read the api-docs page, but I didn't see an endpoint for adding novels, or editing them (description, tags, homepage, etc...).