To allow you develop own plugins with our vote system we provide simple API.
To check if a user has voted or not you need:
- User steamID64
- Rust-Servers.Info ServerID
- uid = User steamID64, eg 76561197997238749
- sid = Rust-Servers.Info ServerID
- hours = Period in hours, during which the voice is not considered as obsolete
- type = In what format do you want to receive an answer. Eg type=text for Plain Text or type=json for JSON. (This parameter is optional. JSON by default)
JSON value true/false:
Plain Text 1/0:
If you need to register that a user has received their award:
To Be Done.