Get car status list https://api.rrr.lt/get/car_status

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/car_status');
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": "Purchased",
            "lt": "Nupirktas",
            "lv": "Iegādāts",
            "ru": "Купленный",
            "pl": "Kupiony",
            "es": "Comprado",
            "fr": "Acheté",
            "it": "Acquistato"
        },
        "2": {
            "en": "Unraveling",
            "lt": "Ardymui",
            "lv": "Atšķetināšana",
            "ru": "На разборку",
            "pl": "Do demontażu",
            "es": "Para desmontar",
            "fr": "Pour le démantèlement",
            "it": "Per lo smontaggio"
        },
        "3": {
            "en": "For resale",
            "lt": "Perpardavimui",
            "lv": "Tālākai pārdošanai",
            "ru": "Для перепродажи",
            "pl": "Do odsprzedaży",
            "es": "Para reventa",
            "fr": "Pour la revente",
            "it": "Per la rivendita"
        },
        "4": {
            "en": "Disassembled",
            "lt": "Išardytas",
            "lv": "Izjaukts",
            "ru": "Разобранный",
            "pl": "Zdemontowany",
            "es": "Desmontado",
            "fr": "Démonté",
            "it": "Smontato"
        },
        "5": {
            "en": "Out",
            "lt": "Išparduotas",
            "lv": "Izpārdots",
            "ru": "Проданный",
            "pl": "Wyprzedany",
            "es": "Vendido",
            "fr": "Vendu",
            "it": "Venduto"
        },
        "6": {
            "en": "Added",
            "lt": "Pridėtas",
            "lv": "Pievienots",
            "ru": "Добавленный",
            "pl": "Dodano",
            "es": "Añadido",
            "fr": "Ajouté",
            "it": "Aggiunto"
        }
    },
    "msg": "OK",
    "status_code": "R200"
}