Skip to content

Rest API of Rucoy online, Android Game with basics information

Notifications You must be signed in to change notification settings

Tomvargas/API_RUCOY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API OF RUCOY ONLINE

Rucoy online

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.

HOW TO USE METHODS

GET

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

POST

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:

ITEMS STRUCT

{
    "id": int,
    "category": "Armor",
    "name": "Armor Name",
    "lvlr": int,
    "pricer": int,
    "finditem": "Where can find the item",
    "srcimg": "img route"
}

NPC STRUCT

{
    "idd": int,
    "itemsid": "Armor",
    "name": "Armor Name",
    "srcimg": "img route"
}

BOSS AND BOSS EVENT STRUCT

{
    "id": int,
    "name": "Boss Name",
    "mingold": int,
    "maxgold": int,
    "itemdrop": "id of items drop",
    "area": "Area",
    "srcimg": "img route"
}

MONSTERS STRUCT

{
    "id": int,
    "name": "Monster Name",
    "lvl": int,
    "mingold": int,
    "maxgold": int,
    "dropid": "id of items drop",
    "area": "Area",
    "srcimg": "img route"
}

DELETE

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.

PUT

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:

GLOBAL STRUCT

{
    "value1": "Data base row name",
    "value2": "value to be updated",
}

About

Rest API of Rucoy online, Android Game with basics information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages