Get car body type list https://api.rrr.lt/get/car_body_type

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_body_type');
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": "Sedan",
            "lv": "Sedans",
            "ru": "Седан",
            "lt": "Sedanas",
            "pl": "Sedan",
            "es": "Sedán",
            "fr": "Berline",
            "it": "Berlina"
        },
        "2": {
            "en": "Hatchback",
            "lv": "Hečbeks",
            "ru": "Хэтчбек",
            "lt": "Hečbekas",
            "pl": "Hatchback",
            "es": "Hatchback",
            "fr": "Hayon",
            "it": "Hatchback"
        },
        "3": {
            "en": "Estate / Wagon",
            "lv": "Universāls",
            "ru": "Универсал",
            "lt": "Universalas",
            "pl": "Kombi",
            "es": "Familiar",
            "fr": "Break",
            "it": "Estate / Carro"
        },
        "4": {
            "en": "MPV / Minivan",
            "lv": "Monovalums",
            "ru": "Минивэн",
            "lt": "Vienatūris",
            "pl": "Minivan",
            "es": "Minivan",
            "fr": "Minivan",
            "it": "Monovolume"
        },
        "5": {
            "en": "SUV / Off-Road",
            "lv": "SUV",
            "ru": "Внедорожник",
            "lt": "Visureigis",
            "pl": "SUV",
            "es": "SUV",
            "fr": "SUV",
            "it": "SUV"
        },
        "6": {
            "en": "Coupe",
            "lv": "Kupeja",
            "ru": "Купе",
            "lt": "Kupė (Coupe)",
            "pl": "Coupe",
            "es": "Coupe",
            "fr": "Coupé",
            "it": "Coupé"
        },
        "7": {
            "en": "Commercial",
            "lv": "Komerciāls",
            "ru": "Коммерческий",
            "lt": "Komercinis",
            "pl": "Dostawczy",
            "es": "Comercial",
            "fr": "Commerciale",
            "it": "Commerciale"
        },
        "8": {
            "en": "Convertible",
            "lv": "Kabriolets",
            "ru": "Кабриолет",
            "lt": "Kabrioletas",
            "pl": "Kabriolet",
            "es": "Convertible",
            "fr": "Décapotable",
            "it": "Cabriolet"
        },
        "9": {
            "en": "Roadster",
            "lv": "Rodsters",
            "ru": "Родстер",
            "lt": "Roadster",
            "pl": "Roadster",
            "es": "Roadster",
            "fr": "Roadster",
            "it": "Roadster"
        },
        "10": {
            "en": "Limousine",
            "lv": "Limuzīns",
            "ru": "Лимузин",
            "lt": "Limuzinas",
            "pl": "Limuzyna",
            "es": "Limusina",
            "fr": "Limousine",
            "it": "Limousine"
        },
        "11": {
            "en": "Pickup",
            "lv": "Pacelt",
            "ru": "Пикап",
            "lt": "Pikapas",
            "pl": "Pickup",
            "es": "Pick-up",
            "fr": "Pick-up",
            "it": "Pick-up"
        },
        "0": {
            "en": "Other",
            "lv": "Cits",
            "ru": "Другое",
            "lt": "Kita",
            "pl": "Inne",
            "es": "Otro",
            "fr": "Autre",
            "it": "Altro"
        }
    },
    "msg": "OK",
    "status_code": "R200"
}