Hi guys. I almost finished my plugin, but the most difficult part remained: integration with the web. I need to make 5 different requests, get results from web api and use results in plugin. It would be great, if somebody helps me with the simplest: i need to get list of steamIDs and check on every players connection on this list. The servers answer is somethig like this:
Code:
"name": "get-game",
"request": {
"url": "127.0.0.1:8000/api/get-game/",
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "port",
"value": "2222",
"type": "text",
"enabled": true
},
{
"key": "ip",
"value": "127.0.0.1",
"type": "text",
"enabled": true
},
{
"key": "steam_ids",
"value": "[\"76561198332352541\", \"76561198332352542\", \"76561198332352543\"]",
"type": "text",
"enabled": true
},
{
"key": "game_id",
"value": "1",
"type": "text",
"enabled": true
}
]
},
"description": ""
},
"response": []
I do not even know where to start. I really hope for your help.