Bulk export (an Enterprise contract, never by the call): every published tractor and farm machine as CSV, HP as printed, with its price, kind and date
curl --request GET \
--url https://api.truckaurbus.com/v1/export/tractors.csvimport requests
url = "https://api.truckaurbus.com/v1/export/tractors.csv"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/export/tractors.csv', 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/export/tractors.csv",
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/export/tractors.csv"
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/export/tractors.csv")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/export/tractors.csv")
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<string>v1
Bulk export (an Enterprise contract, never by the call): every published tractor and farm machine as CSV, HP as printed, with its price, kind and date
Every published tractor and farm machine as CSV, UTF-8 with a byte-order mark: the machines export’s columns with section field, engine HP and PTO HP as the trade prints them, cylinders, gears, lift capacity in kg, drive, the price with its kind and date, and the page path under /tractors. An Enterprise contract only, never by the call.
GET
/
v1
/
export
/
tractors.csv
Bulk export (an Enterprise contract, never by the call): every published tractor and farm machine as CSV, HP as printed, with its price, kind and date
curl --request GET \
--url https://api.truckaurbus.com/v1/export/tractors.csvimport requests
url = "https://api.truckaurbus.com/v1/export/tractors.csv"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.truckaurbus.com/v1/export/tractors.csv', 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/export/tractors.csv",
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/export/tractors.csv"
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/export/tractors.csv")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.truckaurbus.com/v1/export/tractors.csv")
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<string>Response
200 - text/csv
CSV of every published tractor and farm machine, HP as printed
The response is of type string.

