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

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_drive');
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": "FWD",
            "lv": "FWD",
            "ru": "Фронт",
            "lt": "Priekiniai",
            "pl": "Przód",
            "es": "Delantera / FWD",
            "fr": "Avant / Traction avant",
            "it": "Anteriore / FWD"
        },
        "2": {
            "en": "RWD",
            "lv": "RWD",
            "ru": "Терминал",
            "lt": "Galiniai",
            "pl": "Tył",
            "es": "Trasera / RWD",
            "fr": "Arrière / Traction arrière",
            "it": "Posteriore / RWD"
        },
        "3": {
            "en": "AWD",
            "lv": "AWD",
            "ru": "Все",
            "lt": "Visi",
            "pl": "AWD",
            "es": "AWD",
            "fr": "AWD",
            "it": "AWD"
        }
        "0": {
            "en": "---",
            "lv": "---",
            "ru": "---",
            "lt": "---",
            "pl": "---",
            "es": "---",
            "fr": "---",
            "it": "---"
        }
    },
    "msg": "OK",
    "status_code": "R200"
}