cURL
curl --request GET \
--url https://confirmation.freelancetravel.com/api/product/feed/categoriesimport requests
url = "https://confirmation.freelancetravel.com/api/product/feed/categories"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://confirmation.freelancetravel.com/api/product/feed/categories', 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://confirmation.freelancetravel.com/api/product/feed/categories",
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://confirmation.freelancetravel.com/api/product/feed/categories"
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://confirmation.freelancetravel.com/api/product/feed/categories")
.asString();require 'uri'
require 'net/http'
url = URI("https://confirmation.freelancetravel.com/api/product/feed/categories")
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{
"success": true,
"title": "Product categories",
"code": 200,
"data": {
"Boat": [
"Boat",
"Boat"
],
"Bungalow": [
"Bungalow"
],
"Cabins": [
"Cabins"
],
"Camping": [
"Camping",
"Camping"
],
"Activity": [
"Camping",
"4WD Tours",
"Abseiling",
"Adventure",
"Alpine Hiking",
"Ballooning",
"Bungy Jumping",
"Camel Riding",
"Camping",
"Canoeing",
"Canyoning",
"Diving",
"Golf",
"Hiking",
"Ice Climbing",
"Jet Boating",
"Jet Ski",
"Kayaking",
"Live Aboard Diving",
"Mountain Biking",
"Paddle Board",
"Paragliding",
"Rafting",
"Rock Climbing",
"Sand Boarding",
"Scenic Flights / Heli",
"Shopping",
"Ski/Snowboarding/ski sports",
"Skydiving",
"Skydiving - Indoor",
"Snorkelling",
"Surfing",
"Swimming",
"Water Sports",
"Ziplining"
],
"Hostel": [
"Dorms",
"Double/Twin",
"Hostel",
"Single",
"Triple"
],
"Glamping": [
"Glamping"
],
"Homestay": [
"Homestay"
],
"Sleeper Train": [
"Sleeper Train"
],
"Suite": [
"Suite"
],
"Villa": [
"Villa"
],
"4WD": [
"4WD"
],
"Bus": [
"Bus",
"Hop on Hop Off",
"Shuttle Bus"
],
"Campervan": [
"Campervan"
],
"Coach": [
"Coach"
],
"Ferry": [
"Ferry"
],
"Flights": [
"Flights"
],
"Hire Car": [
"Hire Car"
],
"Island Hopping": [
"Island Hopping",
"Island Hopping"
],
"Sail & Cruise": [
"Island Hopping",
"Cruise",
"Island Hopping",
"River Cruises"
],
"Train": [
"Trains"
],
"Attraction": [
"Aquarium",
"Attraction",
"Hot Pools",
"Museums",
"National Parks",
"Theme Parks"
],
"Food & Drink": [
"Beer/Cider Tours",
"Brewery Tours",
"Food Tour",
"Party Tour",
"Wineries"
],
"Hire": [
"Bike Hire",
"Segway",
"Self Drive"
],
"Tours": [
"Bike Tours",
"Caving",
"City Tour",
"Eco Tour",
"Farm",
"Fishing",
"Forest / Rainforest",
"Geothermal Parks",
"Glacier Hiking",
"Marine Parks / Reserve",
"Nature",
"Outback",
"Safari",
"Sailing",
"Scenic Tour / Sightseeing",
"Sunset tour",
"Train Tour",
"Volcano Tours",
"Voluntourism",
"Walking Tours"
],
"Wildlife & Animals": [
"Crocodile Safari",
"Dolphins/ Dolphin Swim",
"Whale Watching",
"Zoos / Wildlife Parks"
],
"Health & Wellness": [
"Glacier Hot Pools/Massage",
"Massage",
"Retreat",
"Spa Treatments",
"Yoga"
]
}
}Cart & Quotes
Get apiproductfeedcategories
GET
/
api
/
product
/
feed
/
categories
cURL
curl --request GET \
--url https://confirmation.freelancetravel.com/api/product/feed/categoriesimport requests
url = "https://confirmation.freelancetravel.com/api/product/feed/categories"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://confirmation.freelancetravel.com/api/product/feed/categories', 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://confirmation.freelancetravel.com/api/product/feed/categories",
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://confirmation.freelancetravel.com/api/product/feed/categories"
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://confirmation.freelancetravel.com/api/product/feed/categories")
.asString();require 'uri'
require 'net/http'
url = URI("https://confirmation.freelancetravel.com/api/product/feed/categories")
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{
"success": true,
"title": "Product categories",
"code": 200,
"data": {
"Boat": [
"Boat",
"Boat"
],
"Bungalow": [
"Bungalow"
],
"Cabins": [
"Cabins"
],
"Camping": [
"Camping",
"Camping"
],
"Activity": [
"Camping",
"4WD Tours",
"Abseiling",
"Adventure",
"Alpine Hiking",
"Ballooning",
"Bungy Jumping",
"Camel Riding",
"Camping",
"Canoeing",
"Canyoning",
"Diving",
"Golf",
"Hiking",
"Ice Climbing",
"Jet Boating",
"Jet Ski",
"Kayaking",
"Live Aboard Diving",
"Mountain Biking",
"Paddle Board",
"Paragliding",
"Rafting",
"Rock Climbing",
"Sand Boarding",
"Scenic Flights / Heli",
"Shopping",
"Ski/Snowboarding/ski sports",
"Skydiving",
"Skydiving - Indoor",
"Snorkelling",
"Surfing",
"Swimming",
"Water Sports",
"Ziplining"
],
"Hostel": [
"Dorms",
"Double/Twin",
"Hostel",
"Single",
"Triple"
],
"Glamping": [
"Glamping"
],
"Homestay": [
"Homestay"
],
"Sleeper Train": [
"Sleeper Train"
],
"Suite": [
"Suite"
],
"Villa": [
"Villa"
],
"4WD": [
"4WD"
],
"Bus": [
"Bus",
"Hop on Hop Off",
"Shuttle Bus"
],
"Campervan": [
"Campervan"
],
"Coach": [
"Coach"
],
"Ferry": [
"Ferry"
],
"Flights": [
"Flights"
],
"Hire Car": [
"Hire Car"
],
"Island Hopping": [
"Island Hopping",
"Island Hopping"
],
"Sail & Cruise": [
"Island Hopping",
"Cruise",
"Island Hopping",
"River Cruises"
],
"Train": [
"Trains"
],
"Attraction": [
"Aquarium",
"Attraction",
"Hot Pools",
"Museums",
"National Parks",
"Theme Parks"
],
"Food & Drink": [
"Beer/Cider Tours",
"Brewery Tours",
"Food Tour",
"Party Tour",
"Wineries"
],
"Hire": [
"Bike Hire",
"Segway",
"Self Drive"
],
"Tours": [
"Bike Tours",
"Caving",
"City Tour",
"Eco Tour",
"Farm",
"Fishing",
"Forest / Rainforest",
"Geothermal Parks",
"Glacier Hiking",
"Marine Parks / Reserve",
"Nature",
"Outback",
"Safari",
"Sailing",
"Scenic Tour / Sightseeing",
"Sunset tour",
"Train Tour",
"Volcano Tours",
"Voluntourism",
"Walking Tours"
],
"Wildlife & Animals": [
"Crocodile Safari",
"Dolphins/ Dolphin Swim",
"Whale Watching",
"Zoos / Wildlife Parks"
],
"Health & Wellness": [
"Glacier Hot Pools/Massage",
"Massage",
"Retreat",
"Spa Treatments",
"Yoga"
]
}
}