This is the API to get all the data for the novel webpage
Because of some issues this project isnt longer live.
Just fork it and get it on your machine. Then just go "npm install" in the folder
https://alexever17.herokuapp.com/api/novels
https://alexever17.herokuapp.com/api/novel/5ad27708ed35670004feb933
just change the last part after /novel for a different one, you can find the id in the full version of the database
https://alexever17.herokuapp.com/api/novels/origin/chinese
finding only novels with chinese origin
https://alexever17.herokuapp.com/api/novels/origin/japanese
finding only novels with japanese origin
https://alexever17.herokuapp.com/api/novels/origin/korean
finding only novels with korean origin
https://alexever17.herokuapp.com/api/novels/ranking/3
You can get a query containing only the novels with this specific Ranking
possible input after ranking/ is 1 to 10
https://alexever17.herokuapp.com/api/novels/dropped
You can also just query the novels which were dropped
Sorting can be aplied to every get request except for the one where you retrieve a single novel
just change the link before the ?
examples:
https://alexever17.herokuapp.com/api/novels?sort=1
Sort all novels by the ranking --> 10 to 1
https://alexever17.herokuapp.com/api/novels?sort=2
Sort all novels by the ranking --> 1 to 10
https://alexever17.herokuapp.com/api/novels?sort=3
Sorting alphabetically
https://alexever17.herokuapp.com/api/novels?sort=4
Sorting reverse alphabetically
Please do not use it.
an example:
{
"_id" : ObjectId("5ad27708ed35670004feb933"),
"description" : "“What I want, the Heavens shall not lack! ” “What I don’t want, had better not exist in the Heavens!” ",
"origin" : "chinese",
"name" : "I Shall Seal the Heavens",
"ranking" : 2,
"url" : "https://www.novelupdates.com/series/i-shall-seal-the-heavens/",
"picSource" : "https://cdn.novelupdates.com/images/2015/06/15_ISSTH.jpg",
"dropped" : false,
"dataAdded" : "28.05.2018",
"__v" : 0
}
Just feel free to make Pull request however you see fit. Feel free to contact me for question.
This project is licensed under the MIT License - see the LICENSE.md file for details