listing trade bot api
Найти файл
Роман Мещеряков db170cbaef fix auth
2021-09-05 23:11:48 +04:00
classes/Libot fix auth 2021-09-05 23:11:48 +04:00
public_html fix auth 2021-09-05 23:11:48 +04:00
.gitignore libot-api 2021-08-23 22:02:43 +04:00
composer.json user registration recaptcha 2021-08-25 00:45:58 +04:00
README.md authorization 2021-08-25 10:22:50 +04:00

Listing Bot Rest Api

Cryptocurrency exchange trading bot

Add Bot

Request

POST /add.bot

userId - user uniq id

params - key/value list settings bot

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Add Listing

Request

POST /add.listing

channel - channel source get info

currency - currency listing information

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Add Transfer Buy

Request

POST /add.transfer

botId - bot uniq Id

currencyBuy - Cryptocurrency trade exchange buy

sumBuy - sum buy

currencySell - Cryptocurrency trade exchange sell

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Add User

Request

POST /add.user

login - user login

password - not crypto password

fullname - user fullname

recaptcha - token rechaptcha

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Login User

Request

POST /login

login - user login

password - not crypto password

recaptcha - token rechaptcha

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Get Bots

Request

GET /get.bots

userId - user id

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Get Listings List

Request

GET /get.listings

login - user login

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Get Transfers List

Request

GET /get.transfers

botId - bot id

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Get User

Request

GET /get.user

login - user login

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Get Current User

Request

GET /get.userCurrent

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Update Bot

Request

POST /update.bot

botId - bot id

active - bot active boolean

params - key/value list settings bot

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

Update User

Request

POST /update.user

login - user login

password - not crypto password

fullname - user fullname

Response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json