What each will cost: years on the road in one state at your kilometres (v=a,b, state, years, km_month, fuel_inr, kmpl, finance_pct, months, rate_pct, body, tyre_each, tyre_life_km)
curl --request GET \
--url https://api.truckaurbus.com/v1/compare/costimport requests
url = "https://api.truckaurbus.com/v1/compare/cost"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/compare/cost', 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/compare/cost",
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/compare/cost"
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/compare/cost")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/compare/cost")
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{}v1
What each will cost: years on the road in one state at your kilometres (v=a,b, state, years, km_month, fuel_inr, kmpl, finance_pct, months, rate_pct, body, tyre_each, tyre_life_km)
What each variant will cost over years on the road in one state at your kilometres a month: purchase, finance, fuel, tyres, upkeep, with the assumptions echoed back. Every price carries its kind and its date. The page a figure was read from never leaves through a key: source URLs and verification pages are dropped.
GET
/
v1
/
compare
/
cost
What each will cost: years on the road in one state at your kilometres (v=a,b, state, years, km_month, fuel_inr, kmpl, finance_pct, months, rate_pct, body, tyre_each, tyre_life_km)
curl --request GET \
--url https://api.truckaurbus.com/v1/compare/costimport requests
url = "https://api.truckaurbus.com/v1/compare/cost"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/compare/cost', 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/compare/cost",
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/compare/cost"
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/compare/cost")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/compare/cost")
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{}Query Parameters
Variant slugs, comma-separated, two to four (v=a,b); a repeated v is gathered into the same list
Response
200 - application/json
OK
The response is of type Response · object.

