Rest API of Rucoy online, Android Game with basics information this API will have information about creatures, npc, areas and items within the game in order to promote and increase the fun of the game.
This API provide data of the following objects:
- Monsters
- NPC
- Boss
- Boss Event
- Items
¡Alert¡, this API is not online and data base works localy, please wait for release date.
You can see data with http://host/name/parameter
The routes for each object are /NPC
, /BOSS
, /BOSSEVENT
, /MONSTERS
, /ITEMS
For specific searches you can use te parameter like http://host/NPC/Gear Merchant
For use POST method you can use any software like Postman or Insomnia.
First you must write a json in your software using POST method, and write following structs:
{
"id": int,
"category": "Armor",
"name": "Armor Name",
"lvlr": int,
"pricer": int,
"finditem": "Where can find the item",
"srcimg": "img route"
}
{
"idd": int,
"itemsid": "Armor",
"name": "Armor Name",
"srcimg": "img route"
}
{
"id": int,
"name": "Boss Name",
"mingold": int,
"maxgold": int,
"itemdrop": "id of items drop",
"area": "Area",
"srcimg": "img route"
}
{
"id": int,
"name": "Monster Name",
"lvl": int,
"mingold": int,
"maxgold": int,
"dropid": "id of items drop",
"area": "Area",
"srcimg": "img route"
}
You can delete data with http://host/first_parameter/second_parameter
The first parameter for each object are NPC
, BOSS
, BOSSEVENT
, MONSTERS
, ITEMS
In second parameter you must write the name of the object like http://host/NPC/Gear Merchant
The API browse in table with the first parameter and delete all where name equalas to second parameter.
You can update data with http://host/first_parameter/second_parameter
The first parameter for each object are NPC
, BOSS
, BOSSEVENT
, MONSTERS
, ITEMS
In second parameter you must write the id of the object like http://host/ITEMS/101
And the new data must be an json in your software, the struct are:
{
"value1": "Data base row name",
"value2": "value to be updated",
}