One kind of work: the operating envelope in one locale and the register's matching vehicles ranked (limit=)
curl --request GET \
--url https://api.truckaurbus.com/v1/work/{slug}import requests
url = "https://api.truckaurbus.com/v1/work/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/work/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.truckaurbus.com/v1/work/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truckaurbus.com/v1/work/{slug}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.truckaurbus.com/v1/work/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/work/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"cells": {},
"checks": [
"<string>"
],
"finder": {},
"guides": [
{
"p": "<string>",
"slug": "<string>",
"t": "<string>"
}
],
"labels": {},
"lede": "<string>",
"listing_query": "<string>",
"name": "<string>",
"slug": "<string>",
"title": "<string>",
"total": 123,
"vehicles": [
{
"body_types": [
"<string>"
],
"id": 123,
"lifecycle": "<string>",
"manufacturer": {
"name": "<string>",
"slug": "<string>"
},
"model": {
"name": "<string>",
"slug": "<string>"
},
"name": "<string>",
"slug": "<string>",
"vehicle_class": "<string>",
"archive_price_inr": 123,
"archive_price_year": 123,
"axle_config": "<string>",
"battery_ah": 123,
"battery_volts": 123,
"fuel": "<string>",
"gvw_kg": 123,
"image": "<string>",
"is_sample": false,
"launched_at": "2023-12-25",
"payload_kg": 123,
"power_hp": 123,
"price_as_of": "2023-12-25",
"price_from_inr": 123,
"price_kind": "<string>",
"price_state": "<string>",
"price_to_inr": 123,
"published_at": "2023-12-25",
"segment": "<string>",
"torque_nm": 123,
"tyre_size": "<string>",
"tyres_count": 123,
"verified_at": "2023-12-25"
}
]
}v1
One kind of work: the operating envelope in one locale and the register's matching vehicles ranked (limit=)
One kind of work: its operating envelope (payload, body, axle, the roads it runs) in the locale and the register’s matching variants ranked, up to limit. The page a figure was read from never leaves through a key: source URLs and verification pages are dropped.
GET
/
v1
/
work
/
{slug}
One kind of work: the operating envelope in one locale and the register's matching vehicles ranked (limit=)
curl --request GET \
--url https://api.truckaurbus.com/v1/work/{slug}import requests
url = "https://api.truckaurbus.com/v1/work/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/work/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.truckaurbus.com/v1/work/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truckaurbus.com/v1/work/{slug}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.truckaurbus.com/v1/work/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/work/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"cells": {},
"checks": [
"<string>"
],
"finder": {},
"guides": [
{
"p": "<string>",
"slug": "<string>",
"t": "<string>"
}
],
"labels": {},
"lede": "<string>",
"listing_query": "<string>",
"name": "<string>",
"slug": "<string>",
"title": "<string>",
"total": 123,
"vehicles": [
{
"body_types": [
"<string>"
],
"id": 123,
"lifecycle": "<string>",
"manufacturer": {
"name": "<string>",
"slug": "<string>"
},
"model": {
"name": "<string>",
"slug": "<string>"
},
"name": "<string>",
"slug": "<string>",
"vehicle_class": "<string>",
"archive_price_inr": 123,
"archive_price_year": 123,
"axle_config": "<string>",
"battery_ah": 123,
"battery_volts": 123,
"fuel": "<string>",
"gvw_kg": 123,
"image": "<string>",
"is_sample": false,
"launched_at": "2023-12-25",
"payload_kg": 123,
"power_hp": 123,
"price_as_of": "2023-12-25",
"price_from_inr": 123,
"price_kind": "<string>",
"price_state": "<string>",
"price_to_inr": 123,
"published_at": "2023-12-25",
"segment": "<string>",
"torque_nm": 123,
"tyre_size": "<string>",
"tyres_count": 123,
"verified_at": "2023-12-25"
}
]
}Path Parameters
Response
200 - application/json
OK
The page: the envelope's eight cells with their labels, the checks, the guides, the need finder's answers, the listing's query string and the register's matching vehicles, ranked.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes

