Skip to main content
POST
/
v2
/
get
/
catalogue
Get events catalogue
curl --request POST \
  --url https://www.wander-service.fr/api/clients/v2/get/catalogue \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "locationFilter": {},
  "lastUpdatedAt": "<string>",
  "trackAvailabilities": true,
  "limit": 250.5,
  "pageNumber": 123
}
'
import requests

url = "https://www.wander-service.fr/api/clients/v2/get/catalogue"

payload = {
"locationFilter": {},
"lastUpdatedAt": "<string>",
"trackAvailabilities": True,
"limit": 250.5,
"pageNumber": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
locationFilter: {},
lastUpdatedAt: '<string>',
trackAvailabilities: true,
limit: 250.5,
pageNumber: 123
})
};

fetch('https://www.wander-service.fr/api/clients/v2/get/catalogue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://www.wander-service.fr/api/clients/v2/get/catalogue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'locationFilter' => [

],
'lastUpdatedAt' => '<string>',
'trackAvailabilities' => true,
'limit' => 250.5,
'pageNumber' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://www.wander-service.fr/api/clients/v2/get/catalogue"

payload := strings.NewReader("{\n \"locationFilter\": {},\n \"lastUpdatedAt\": \"<string>\",\n \"trackAvailabilities\": true,\n \"limit\": 250.5,\n \"pageNumber\": 123\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://www.wander-service.fr/api/clients/v2/get/catalogue")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"locationFilter\": {},\n \"lastUpdatedAt\": \"<string>\",\n \"trackAvailabilities\": true,\n \"limit\": 250.5,\n \"pageNumber\": 123\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://www.wander-service.fr/api/clients/v2/get/catalogue")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"locationFilter\": {},\n \"lastUpdatedAt\": \"<string>\",\n \"trackAvailabilities\": true,\n \"limit\": 250.5,\n \"pageNumber\": 123\n}"

response = http.request(request)
puts response.read_body
{
  "data": {
    "events": [
      {
        "id": 123,
        "wanderId": 123,
        "wanderLink": "<string>",
        "name": "<string>",
        "startDate": "<string>",
        "endDate": "<string>",
        "hasEndDateNotReliable": true,
        "lowestPrice": 123,
        "highestPrice": 123,
        "description": "<string>",
        "hasGoodDeal": true,
        "image": "<string>",
        "imageHeight": 123,
        "imageWidth": 123,
        "squareImage": "<string>",
        "rectangleImage": "<string>",
        "webImage": "<string>",
        "notAvailableAt": "<string>",
        "cancelledAt": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>",
        "googlePlace": {
          "id": "<string>",
          "name": "<string>",
          "address": "<string>",
          "lng": 123,
          "lat": 123,
          "averageGrade": 123,
          "totalGrades": 123,
          "street": "<string>",
          "city": "<string>",
          "postalCode": "<string>",
          "country": "<string>",
          "photoRef": "<string>",
          "website": "<string>",
          "editorialSummary": "<string>",
          "periods": [
            {
              "open": {
                "day": 123,
                "time": "<string>"
              },
              "close": {
                "day": 123,
                "time": "<string>"
              }
            }
          ]
        },
        "place": {
          "id": 123,
          "googleId": "<string>",
          "name": "<string>",
          "address": {
            "lng": 123,
            "lat": 123,
            "street": "<string>",
            "city": "<string>",
            "postalCode": "<string>",
            "country": "<string>"
          },
          "image": "<string>",
          "squareImage": "<string>",
          "rectangleImage": "<string>",
          "averageGrade": 123,
          "totalGrades": 123
        },
        "sources": [
          {
            "id": 123,
            "partner": {
              "name": "<string>",
              "logo": "<string>",
              "backColor": "<string>"
            },
            "startDate": "<string>",
            "endDate": "<string>",
            "lowestPrice": 123,
            "highestPrice": 123,
            "isGoodDeal": true,
            "commissionFix": 123,
            "commissionPerTicket": 123,
            "commissionPerCart": 123,
            "commissionRate": 123,
            "link": "<string>",
            "isBookable": true,
            "availableDates": [
              {
                "startDate": "<string>",
                "endDate": "<string>",
                "hasEndDateNotReliable": true,
                "hasUnknownAvailability": true
              }
            ],
            "averageGrade": 123,
            "totalGrades": 123,
            "cantRetrieveAvailableDates": true,
            "notAvailableAt": "<string>"
          }
        ],
        "categories": [
          {
            "id": 123,
            "mainCategory": "<string>",
            "subCategory": "<string>",
            "traductionFR": "<string>",
            "traductionEN": "<string>",
            "icon": "<string>"
          }
        ],
        "commentaries": [
          {
            "grade": 123,
            "content": "<string>",
            "username": "<string>",
            "date": "<string>"
          }
        ],
        "averageGrade": 123,
        "totalGrades": 123,
        "trendingScore": 123,
        "performers": [
          {
            "id": 123,
            "name": "<string>",
            "description": "<string>",
            "image": "<string>",
            "webImage": "<string>"
          }
        ]
      }
    ],
    "eventIdsCancelled": [
      123
    ],
    "eventIdsNotAvailable": [
      123
    ],
    "eventIdsPassed": [
      123
    ],
    "eventIdsDeleted": [
      123
    ]
  },
  "pagination": {
    "totalItems": 123,
    "totalPages": 123,
    "perPage": 123,
    "currentPage": 123,
    "nextPageParams": {
      "pageNumber": 123,
      "limit": 123
    },
    "previousPageParams": {
      "pageNumber": 123,
      "limit": 123
    }
  }
}

Authorizations

Authorization
string
header
required

It is the "access_token" returned after login

Body

application/json
locationFilter
object

You can define a location filter corresponding to a circle or a rectangle.

lastUpdatedAt
string

You can only get the events updated after this date. Use it to keep your own database up to date.

Example:

"2024-10-10T12:00:06.138Z"

trackAvailabilities
boolean

Set it to true if you want to retrieve events whose availabilities have been modified.

Example:

false

limit
number
Required range: 1 <= x <= 500
Example:

5

pageNumber
number
Example:

1

Response

Successful operation

data
object
pagination
object