Get wheel list https://api.rrr.lt/get/wheel

POST parameters

Name Type Required Data
username Text varchar(50) YES Username
password Text varchar(100) YES Password
user_token Text YES Token provided

PHP Curl example code

$post = [
'username' => '',
'password' => '',
'user_token' => '',
];

$ch = curl_init('https://api.rrr.lt/get/wheel');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = json_decode(curl_exec($ch));
curl_close($ch);

Output

{
    "list": {
        "1": {
            "en": "Right side",
            "lv": "Pa labi",
            "ru": "Справа",
            "lt": "Dešinėje",
            "pl": "Prawa strona",
            "es": "Derecha",
            "fr": "Droite",
            "it": "Destra"
        },
        "0": {
            "en": "Left side",
            "lv": "Pa kreisi",
            "ru": "Слева",
            "lt": "Kairėje",
            "pl": "Lewa strona",
            "es": "Izquierda",
            "fr": "Gauche",
            "it": "Sinistra"
        }
    },
    "msg": "OK",
    "status_code": "R200"
}