Info
Welcome to TravelshopTurkey JSON API reference.
API Endpoint: https://travelshopturkey.com/api/json
api/json/tours/agencymaxchild/22671
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/agencymaxchild/22671");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/agencymaxchild/22671", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/agencymaxchild/22671")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/agencymaxchild/22671", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/agencymaxchild/22671'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/agencymaxchild/22671"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/agencymaxchild/22671
POST api/json/tours/agencymaxchild/22671
Response
status: boolean
data: integer
Example response (200):
{
"status": true,
"data": 11
}
api/json/tours/booking
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/booking");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/booking", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/booking")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/booking", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/booking'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/booking"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/booking
POST api/json/tours/booking
Response
status: boolean
data: string
Example response (200):
{
"status": false,
"data": ""
}
QUERY PARAMETERS
Key | Value | |
---|---|---|
booking | : | |
tour_id | : | |
tourtype | : | |
accom | : | |
singlea | : | |
doublea | : | |
triplea | : | |
date | : | |
singlebalance | : | |
doublebalance | : | |
triplebalance | : | |
Totalbalance | : | |
currency_symbol | : | |
children | : | |
child_total | : | |
Start_Date | : | |
End_Date | : | |
totilchild | : | |
Price_ID | : | |
pax | : | |
totil | : | |
first_order | : | |
discountamount | : | |
last_order | : | |
cntfirstname | : | |
cntlastname | : | |
cntmail | : | |
cntphone | : | |
cntcountry | : | |
cntbirth | : | |
travellersnames[0] | : | |
country[0] | : | |
DOB[0] | : | |
flight_arrival_datetime | : | |
flight_arrival_number | : | |
flight_to_airport | : | |
flight_departure_datetime | : | |
flight_departure_number | : | |
flight_departure_from | : |
api/json/tours/cancellationpolicies/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/cancellationpolicies/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/cancellationpolicies/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/cancellationpolicies/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/cancellationpolicies/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/cancellationpolicies/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/cancellationpolicies/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/cancellationpolicies/5
POST api/json/tours/cancellationpolicies/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"policy": "Tour explanation example",
"days": 60,
"percent": 50
}
]
}
api/json/tours/childpolicy/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/childpolicy/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/childpolicy/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/childpolicy/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/childpolicy/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/childpolicy/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/childpolicy/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/childpolicy/5
POST api/json/tours/childpolicy/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"age_start": 0,
"age_end": 2,
"type": 3,
"value": 20,
"type_name": "Flight Insurance for 0 to 2"
}
]
}
api/json/tours/cities
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/cities");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/cities", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/cities")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/cities", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/cities'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/cities"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/cities
POST api/json/tours/cities
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 24081,
"name": " Montebello Vicentino",
"state_id": 1901
}
]
}
api/json/tours/city/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/city/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/city/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/city/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/city/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/city/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/city/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/city/1
POST api/json/tours/city/1
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "Bombuflat",
"state_id": 1
}
]
}
api/json/tours/continent_countries/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/continent_countries/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/continent_countries/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/continent_countries/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/continent_countries/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/continent_countries/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/continent_countries/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/continent_countries/1
POST api/json/tours/continent_countries/1
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"sortname": "AF",
"name": "Afghanistan",
"phonecode": "93",
"continent_id": 1
}
]
}
api/json/tours/continent/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/continent/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/continent/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/continent/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/continent/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/continent/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/continent/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/continent/1
POST api/json/tours/continent/1
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"sortname": "AF",
"name": "Afghanistan",
"phonecode": "93",
"continent_id": 1
}
]
}
api/json/tours/continents
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/continents");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/continents", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/continents")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/continents", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/continents'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/continents"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/continents
POST api/json/tours/continents
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "Asia"
}
]
}
api/json/tours/countries
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/countries");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/countries", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/countries")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/countries", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/countries'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/countries"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/countries
POST api/json/tours/countries
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 5,
"sortname": "AD",
"name": "Andorra",
"continent_id": 4
}
]
}
api/json/tours/country/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/country/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/country/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/country/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/country/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/country/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/country/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/country/1
POST api/json/tours/country/1
Response
status: boolean
data: object
Example response (200):
{
"status": true,
"data": {
"id": 1,
"sortname": "AF",
"name": "Afghanistan",
"phonecode": "93",
"continent_id": 1
}
}
api/json/tours/getaccommodationsgroups/22671
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/getaccommodationsgroups/22671"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/getaccommodationsgroups/22671
POST api/json/tours/getaccommodationsgroups/22671
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "3 Star"
}
]
}
api/json/tours/getaccommodations/22671/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/getaccommodations/22671/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/getaccommodations/22671/1
POST api/json/tours/getaccommodations/22671/1
Response
status: boolean
data: string
Example response (200):
{
"status": false,
"data": ""
}
api/json/tours/location
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/location");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/location", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/location")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/location", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/location'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/location"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/location
POST api/json/tours/location
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "Asia",
"countries": [
{
"id": 11,
"sortname": "AM",
"name": "Armenia",
"continent_id": 1,
"states": []
},
{
"id": 81,
"sortname": "GE",
"name": "Georgia",
"continent_id": 1,
"states": [
{
"id": 1353,
"name": "Tbilisi",
"country_id": 81,
"cities": []
}
]
}
]
}
]
}
api/json/tours/search
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/search");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/search", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/search")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/search", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/search'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/search"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/search
POST api/json/tours/search
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 22694,
"name": "8 DAYS TURKEY STUDENT TOUR",
"highlights": "\u003Cp\u003E\u003Cstrong\u003E\u003Cspan style=\u0022font-family:"Arial",sans-serif\u0022\u003EWelcome to Turkey!\u003C\/span\u003E\u003C\/strong\u003E\u003Cbr \/\u003E\n\u003Cspan style=\u0022font-family:"Arial",sans-serif\u0022\u003E\u003Cspan style=\u0022background-color:white\u0022\u003E\u003Cspan style=\u0022color:#333333\u0022\u003ETravelShop Turkey is a proud specialist in student tours & promotions, offering programs carefully prepared and highly suitable for groups of all ages ranging from college, university, high school and primary school students. We offer everything from educational tours to graduation trips, performances, night and day activities and more!\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E \u003Cspan style=\u0022font-family:"Arial",sans-serif\u0022\u003EMurtis Tour will be ready to take you to any educational trips within the city. We can arrange you school or field trip visits in the cities you will be visiting. We will take you through the historical and picturesque sites of Istanbul, battlefields of Gallipoli, the Trojan Horse of Troy, Pergamon offers one of the Seven Churches of St John from the Bible before reaching the ancient city of Ephesus, the white calcium hot pools of Pamukkale, beautiful views of the Mediterranean coast in Antalya and back to Istanbul by domestic flight.\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n \u003C\/p\u003E",
"image_long": "http:\/\/travelshopturkey.test\/imagecache\/tours\/first\/8-days-turkey-student-tour-157.jpg",
"promotion_price": 10,
"promotion_text": null,
"min_guest_count": 1,
"duration": null,
"price_default": 569,
"is_active": 1,
"discount_infant": 100,
"discount_baby": 50,
"discount_minor": 25,
"discount_flat": null,
"is_fixed_rate": null,
"rate_infant": 20,
"weight": null,
"is_daily_tour": 0,
"hotels_manual": "",
"has_hotel": 0,
"updated_at": "2019-10-18 17:33:45",
"currency": "EUR",
"thumb_image_long": "http:\/\/travelshopturkey.test\/imagecache\/tours\/first_thumb\/8-days-turkey-student-tour-157.jpg",
"routes": [
{
"continent": {
"id": 4,
"name": "Europe & Balkans & Scandinavia"
},
"country": {
"id": 223,
"sortname": "TR",
"name": "Turkey",
"continent_id": 4
},
"state": {
"id": 3703,
"name": "Istanbul",
"country_id": 223
},
"city": null
}
]
}
]
}
QUERY PARAMETERS
Key | Value | |
---|---|---|
tour_name_like | : | |
continent_id | : | |
country_id | : | |
style_id | : | |
duration | : | |
budget | : | |
date_from | : | |
date_to | : |
api/json/tours/state/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/state/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/state/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/state/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/state/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/state/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/state/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/state/1
POST api/json/tours/state/1
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 42,
"name": "Badakhshan",
"country_id": 1
}
]
}
api/json/tours/states
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/states");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/states", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/states")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/states", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/states'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/states"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/states
POST api/json/tours/states
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 4077,
"name": "'Adan",
"country_id": 243
}
]
}
api/json/tours/tour_calculation
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tour_calculation");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tour_calculation", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tour_calculation")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tour_calculation", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tour_calculation'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tour_calculation"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tour_calculation
POST api/json/tours/tour_calculation
Response
status: boolean
data: object
Example response (200):
{
"status": true,
"data": {
"currency": "EUR",
"pax": 1,
"Total_pax": 1,
"children": "1",
"singlea": "1",
"singlea_price": 1485,
"agency_commission": "10",
"countchild": [
1
],
"childcount": [
1
],
"child_price": [
20
],
"child_total_price": 0,
"sub_total": 1485,
"Total_after_Promo": 1485,
"promotional_discount": "0",
"Total_after_commision": 1485,
"Total_commision": 1485,
"Total": 1485,
"P_Single": 1485,
"P_Double": 0,
"P_Triple": 0,
"CocukTotal": 0,
"doublea": "0",
"triplea": "0",
"Total_Promo": 1485,
"currency_code": "EUR",
"Price_ID": null,
"Start_Date": "2019-10-11",
"End_Date": "2020-03-13"
}
}
QUERY PARAMETERS
Key | Value | |
---|---|---|
tour_id | : | |
date | : | |
tourtype | : | |
accom | : | |
pax | : | |
children | : | |
child[] | : | |
singlea | : | |
doublea | : | |
triplea | : |
api/json/tours/tour_calculation_daily_tour
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r($body);
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tour_calculation_daily_tour"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tour_calculation_daily_tour
POST api/json/tours/tour_calculation_daily_tour
Response
status: boolean
data: object
Example response (200):
Server error: `GET http://travelshopturkey.test/api/json/tours/tour_calculation_daily_tour` resulted in a `500 Internal Server Error` response:
{
"message": "Undefined index: agency_discount",
"exception": "ErrorException",
"file": "/home/vagrant/code/ (truncated...)
api/json/tours/touravailableondates/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/touravailableondates/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/touravailableondates/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/touravailableondates/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/touravailableondates/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/touravailableondates/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/touravailableondates/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/touravailableondates/5
POST api/json/tours/touravailableondates/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"tour_id": 5,
"date_from": "2019-04-01",
"date_to": "2019-10-15",
"sunday": 1,
"monday": 1,
"tuesday": 1,
"wednesday": 1,
"thursday": 1,
"friday": 1,
"saturday": 1
}
]
}
api/json/tours/tourcountrystyle/1
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourcountrystyle/1");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourcountrystyle/1", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourcountrystyle/1")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourcountrystyle/1", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourcountrystyle/1'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourcountrystyle/1"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourcountrystyle/1
POST api/json/tours/tourcountrystyle/1
Response
status: boolean
data: string
Example response (200):
{
"status": false,
"data": ""
}
api/json/tours/tourfacilityexcludes/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourfacilityexcludes/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourfacilityexcludes/5
POST api/json/tours/tourfacilityexcludes/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"name": "International flights"
}
]
}
api/json/tours/tourfacilityincludes/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourfacilityincludes/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourfacilityincludes/5
POST api/json/tours/tourfacilityincludes/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"name": "Pick up transfer from your hotel in Istanbul at approx. 9:00am"
}
]
}
api/json/tours/tourgalleryitems/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourgalleryitems/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourgalleryitems/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourgalleryitems/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourgalleryitems/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourgalleryitems/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourgalleryitems/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourgalleryitems/5
POST api/json/tours/tourgalleryitems/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"name": "izmir",
"description": "",
"image": "http:\/\/travelshopturkey.test\/imagecache\/tours\/gallery\/big\/274-5-days-biblical-tour-izmir-1569246564.jpg"
}
]
}
api/json/tours/tourgroups/2
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourgroups/2");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourgroups/2", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourgroups/2")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourgroups/2", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourgroups/2'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourgroups/2"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourgroups/2
POST api/json/tours/tourgroups/2
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "GUARANTEED TOURS"
}
]
}
api/json/tours/tourhotels/21797
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourhotels/21797");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourhotels/21797", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourhotels/21797")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourhotels/21797", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourhotels/21797'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourhotels/21797"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourhotels/21797
POST api/json/tours/tourhotels/21797
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 192,
"hotel_name": "Feronya Hotel",
"city_name": "Istanbul",
"hotel_type_id": 2,
"hotel_type_name": "4 Star"
}
]
}
api/json/tours/tourids
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourids");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourids", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourids")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourids", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourids'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourids"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourids
POST api/json/tours/tourids
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 5,
"is_active": 1
}
]
}
api/json/tours/touridsactive
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/touridsactive");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/touridsactive", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/touridsactive")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/touridsactive", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/touridsactive'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/touridsactive"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/touridsactive
POST api/json/tours/touridsactive
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
5
]
}
api/json/tours/touritenaries/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/touritenaries/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/touritenaries/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/touritenaries/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/touritenaries/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/touritenaries/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/touritenaries/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/touritenaries/5
POST api/json/tours/touritenaries/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 4212,
"name": "Izmir - Arrival Day",
"include_breakfast": 0,
"include_lunch": 0,
"include_dinner": 1,
"include_welcome_drink": 0,
"description": "Upon our arrival at Izmir airport or Kusadasi \/Cesme Port, our guide will meet you with your name sign to assist you on your transfer to hotel. You will be given your room key and the rest of the day is yours to Explore Izmir. Overnight in Izmir.",
"time_start": "00:00:00",
"time_end": "00:00:00"
}
]
}
api/json/tours/tourroutes/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourroutes/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourroutes/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourroutes/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourroutes/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourroutes/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourroutes/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourroutes/5
POST api/json/tours/tourroutes/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"country": {
"id": 223,
"sortname": "TR",
"name": "Turkey",
"continent_id": 4
},
"state": {
"id": 3704,
"name": "Izmir",
"country_id": 223
},
"city": null
}
]
}
api/json/tours/toursin
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/toursin");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/toursin", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/toursin")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/toursin", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/toursin'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/toursin"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/toursin
POST api/json/tours/toursin
Response
status: boolean
data: object
Example response (200):
{
"status": true,
"data": {
"result": [
{
"id": 5,
"name": "5 DAYS BIBLICAL TOUR IZMIR",
"highlights": "Pergamon tour, Acropolis, Asklepion, Altar of Zeus, Temple of Trajan Horse, Temple of Hadrian, Red Basilica, St. Johns Church, Mount Pagus, Clock Tower, Pamukkale tour, Byzantine Church, River Pactolos, Philadelphia, Cotton Fortress, the Arcadian Way, Nymphaion and Asia Minor, Ephesus tour, Great Amphitheater, Marble Way and Library of Celcus, Temple of Artemis, Ephesus Ancient sites and Virgin Mary and the Temple of Diana of the Ephesians",
"image_long": "http:\/\/travelshopturkey.test\/imagecache\/tours\/first\/5-5-days-biblical-tour-izmir.jpg",
"promotion_text": null,
"min_guest_count": 1,
"terms_conditions": "Please Note:If there are more than 4 travelers, we can provide you a special discounted price. Please contact us for requests and more information.We have special rates for private tours if you are interested in doing your tour on private basis. Please contact us for requests and more information.If you are a travel agency or tour operator, please register on our agency section for special B2B rates. Please contact us for requests and more information.What are the discounts for children?0- 6 Year: Free of Charge6 - 11 Year: Charged at 50% of full price OPTIONAL TOUR Princes Island Cruise € 45,00 Per Person Bosphorus Cruise € 40,00 Per Person Dolma Bahçe Palace € 50,00 Per Person Turkish Bath Tour Istanbul € 35,00 Per Person ISTANBUL BY NIGHT OPTIONAL ACTIVITIES 1001 Nights Dinner Show € 40,00 Per Person Bosphorus Dinner Cruise € 50,00 Per Person Whirling Dervishes Show € 30,00 Per Person OPTIONAL MEAL Standard Dinner € 16,00 Per Person Standard Lunch € 12,00 Per Person ",
"price_default": 229,
"duration": 5,
"is_fixed_rate": 0,
"rate_infant": 0,
"discount": null,
"discount_infant": 100,
"discount_baby": 50,
"discount_minor": 25,
"discount_flat": 0,
"is_daily_tour": 0,
"has_hotel": 0,
"hotels_manual": "Izmir Kaya HotelKusadasi Suhan 360 HotelPamukkale Tripolis Hotel",
"continent_id": 4,
"price_count": 11,
"promotion_price": null,
"itinerary_count": 5,
"currency": "EUR",
"coordinates": "[{\u0022lat\u0022:38.42198651462071,\u0022lng\u0022:27.143054008483887},{\u0022lat\u0022:38.42198651462071,\u0022lng\u0022:27.143054008483887}]",
"date_created": "2016-02-06 20:13:33",
"is_active": 1,
"updated": "2019-09-18 10:17:28",
"pagedetail": "tours\/detail\/5-5-days-biblical-tour-izmir.html",
"prices_with_discount_front_end": [],
"priceemo": 0
}
],
"count": 1
}
}
QUERY PARAMETERS
Key | Value | |
---|---|---|
in[] | : | |
limit | : | |
offset | : |
api/json/tours/tourstyles
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourstyles");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourstyles", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourstyles")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourstyles", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourstyles'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourstyles"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourstyles
POST api/json/tours/tourstyles
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 1,
"name": "Cultural & Historical Tours",
"description": null,
"parent_id": null
}
]
}
api/json/tours/tourstyle/5
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tourstyle/5");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tourstyle/5", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tourstyle/5")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tourstyle/5", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tourstyle/5'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tourstyle/5"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tourstyle/5
POST api/json/tours/tourstyle/5
Response
status: boolean
data: array
Example response (200):
{
"status": true,
"data": [
{
"id": 3,
"name": "Religious Tours"
}
]
}
api/json/tours/tour/22671
const fetch = require("node-fetch");
const url = new URL("https://travelshopturkey.com/api/json/tours/tour/22671");
let headers = {
"Authorization": "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded"
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get("https://travelshopturkey.com/api/json/tours/tour/22671", [
'headers' => [
"Authorization" => "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp",
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded",
],
]);
$body = $response->getBody();
print_r(json_decode((string) $body));
import (
"fmt"
"github.com/parnurzeal/gorequest"
)
request := gorequest.New().
.Get("https://travelshopturkey.com/api/json/tours/tour/22671")
.Set("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.Set("Accept", "application/json")
.Set("Content-Type", "application/x-www-form-urlencoded")
_, body, error := request.EndBytes()
if error != nil {
fmt.Println(error)
}
fmt.Println(body)
using (var wb = new WebClient())
{
var data = new NameValueCollection();
wb.Headers.Add("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp");
wb.Headers.Add("Accept", "application/json");
wb.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var response = wb.UploadValues("https://travelshopturkey.com/api/json/tours/tour/22671", data);
string resp = Encoding.UTF8.GetString(response);
return resp;
}
def __init__(self, apiKey):
self.apiKey = apiKey
self.contentType = "application/x-www-form-urlencoded"
self.accept = "application/json"
self.url = 'https://travelshopturkey.com/api/json/tours/tour/22671'
self.headers = {
'Authorization': 'Bearer q81nA66RaxKkkTMv9FnCDTocnLJp'
'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}
def get(self, endpoint):
response = requests.post(self.url + endpoint, headers=self.headers)
return response.text
}
HttpRequest request = HttpRequest.newBuilder()
.GET()
.uri(URI.create("https://travelshopturkey.com/api/json/tours/tour/22671"))
.setHeader("Authorization", "Bearer q81nA66RaxKkkTMv9FnCDTocnLJp")
.setHeader("Accept", "application/json")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
return response.body();
# Here is a curl example
curl \
-X POST http://api.westeros.com/character/get \
-F 'secret_key=your_api_key' \
-F 'house=Stark,Bolton' \
-F 'offset=0' \
-F 'limit=50'
HTTP Request
GET api/json/tours/tour/22671
POST api/json/tours/tour/22671
Response
status: boolean
data: object
Example response (200):
{
"status": true,
"data": {
"id": 22671,
"name": "5 DAYS TASTE OF TURKEY TOUR",
"highlights": "If you are looking for something special and extraordinary then look no further. Enjoy first class service and guided transportation through the historical and picturesque sites of Istanbul and the underground cities of Cappadoccia This an exquisite tour for you with all the bells and whistles. There are no long bus rides just domestic flights getting you to your destination comfortable and relaxed.",
"image_long": "http:\/\/travelshopturkey.test\/imagecache\/tours\/first\/22671-5-days-taste-of-turkey-tour.png",
"promotion_text": null,
"min_guest_count": 1,
"terms_conditions": " OPTIONAL TOURS SPECIAL Istanbul 1001 Nights Dinner Show Euro: 55.00 Per Person Bosphorus Dinner Cruise Euro: 55.00 Per Person Cappadocia Daily Turkish Night Show Euro: 40.00 Per Person Daily Whirling Dervishes Euro: 40.00 Per Person Hot Air Ballooning Cappadocia Euro: 185.00 Per Person OPTIONAL TERMS & CONDITIONS Above optional tours are valid for our guests who booked our 10th Year Special Tours.If you book a different tour or at a different date, these prices will not be valid. We have limited space for these tours. The price may change if we get more Bookings than that. TOUR INFORMATION FOR OUR SPECIAL OFFER: These programmes are only valid for the dates mentioned. If you request for different dates, our winter prices will be not valid. If you need any change on these programmes, we will arrange you a tailor made programme with necessary price changes. We have limited space for each tour. When we fill up our limit, the price may change. You need to make a 25% percent pre-payment to book one of these tours. Bookings are not valid if 25% payment is not done. For tour packages including domestic flights, you need to book at least 4 weeks before tour start date. If there is less than 4 weeks to tour start date, we will reflect the flight fare difference to the prices. The prices are only valid for packages, we cannot provide you any break down prices or any sectors seperately.What are the discounts for children?Under 2 years of age, your child will travel free of charge by land. Flight ticket insurance cost will be 20 Euro only.Children under 6 years of age are charged at 50% of a full priced adult tour in IstanbulChildren 7-11 years of age are charged at 75% of a full priced adult tour in Istanbul.Children above 11 years are full priced adult fares.",
"duration": 5,
"is_daily_tour": 0,
"hotels_manual": "Istanbul Ramada Hotel & Suite Golden HornKusadasi 5 Star 360 Hotel",
"continent_id": 4,
"price_count": null,
"currency": "EUR",
"coordinates": null,
"date_created": null,
"is_active": 1,
"updated": "2019-08-21 12:14:26",
"currency_icon": "€",
"include": [
"All Airport transfer mention in site the Itinerary"
],
"exclude": [
"International flights"
],
"styles": [
"Cultural & Historical Tours"
],
"available_on_date": [
{
"date_from": "2019-10-17",
"date_to": "2019-10-17",
"sunday": 0,
"monday": 0,
"tuesday": 0,
"wednesday": 0,
"thursday": 1,
"friday": 0,
"saturday": 0
}
],
"cancellation_policy": [],
"gallery": [
{
"name": null,
"description": null,
"image": "http:\/\/travelshopturkey.test\/imagecache\/tours\/gallery\/big\/11524-5-days-taste-of-turkey-tour-1569246573.png"
}
],
"itineraries": [
{
"name": " Istanbul - Arrival Day - Thursday",
"description": "Meet at the airport Transfer to your hotel. You will be given your room key and the rest of the day is yours to explore Istanbul. Overnight in Istanbul.",
"time_start": null,
"time_end": null,
"include_breakfast": 0,
"include_lunch": 0,
"include_dinner": 0,
"include_welcome_drink": 0
}
],
"pricestart": [
77882
],
"tour_route": [
{
"country": {
"id": 223,
"sortname": "TR",
"name": "Turkey",
"continent_id": 4
},
"state": null,
"city": null
}
],
"accommodation_groups": [
{
"id": 2,
"name": "4 Star"
}
],
"accommodation_types": [
{
"id": 2,
"name": "4 Star Hotel",
"accommodation_group_id": 2
}
],
"room_types": [
{
"id": 4,
"name": "Single",
"accommodation_type_id": 2
}
],
"continent": "Europe & Balkans & Scandinavia",
"tour_type": [
"Regular"
],
"dateranges": [
"2019,12,05"
],
"datecounts": [
4
],
"alldays": [
{
"start": "2019,12,05",
"end": "2019,12,05"
}
]
}
}