curl --request POST \
--url https://www.wander-service.fr/api/clients/v2/get/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categories": [
"spectacle"
],
"sources": [
"fnac"
],
"locationFilter": {},
"datesFilter": {
"minDate": "2024-09-12T12:00:06.138Z",
"maxDate": "2024-12-12T12:00:06.138Z"
},
"pricesFilter": {
"lowestPrice": 123,
"highestPrice": 200,
"hasKnownPrice": false
},
"limit": 5,
"pageNumber": 1,
"orderBy": "distance",
"getCommentaries": false,
"getPerformers": false
}
'import requests
url = "https://www.wander-service.fr/api/clients/v2/get/events"
payload = {
"categories": ["spectacle"],
"sources": ["fnac"],
"locationFilter": {},
"datesFilter": {
"minDate": "2024-09-12T12:00:06.138Z",
"maxDate": "2024-12-12T12:00:06.138Z"
},
"pricesFilter": {
"lowestPrice": 123,
"highestPrice": 200,
"hasKnownPrice": False
},
"limit": 5,
"pageNumber": 1,
"orderBy": "distance",
"getCommentaries": False,
"getPerformers": False
}
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({
categories: ['spectacle'],
sources: ['fnac'],
locationFilter: {},
datesFilter: {minDate: '2024-09-12T12:00:06.138Z', maxDate: '2024-12-12T12:00:06.138Z'},
pricesFilter: {lowestPrice: 123, highestPrice: 200, hasKnownPrice: false},
limit: 5,
pageNumber: 1,
orderBy: 'distance',
getCommentaries: false,
getPerformers: false
})
};
fetch('https://www.wander-service.fr/api/clients/v2/get/events', 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/events",
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([
'categories' => [
'spectacle'
],
'sources' => [
'fnac'
],
'locationFilter' => [
],
'datesFilter' => [
'minDate' => '2024-09-12T12:00:06.138Z',
'maxDate' => '2024-12-12T12:00:06.138Z'
],
'pricesFilter' => [
'lowestPrice' => 123,
'highestPrice' => 200,
'hasKnownPrice' => false
],
'limit' => 5,
'pageNumber' => 1,
'orderBy' => 'distance',
'getCommentaries' => false,
'getPerformers' => false
]),
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/events"
payload := strings.NewReader("{\n \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\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/events")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.wander-service.fr/api/clients/v2/get/events")
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 \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 100000,
"wanderId": 100000,
"wanderLink": "https://wander-app.fr/event/100000-plk-en-concert-accor-arena",
"name": "PLK en concert",
"startDate": "2024-03-03 06:08:23.222 +0100",
"endDate": "2024-03-04 06:08:23.222 +0100",
"hasEndDateNotReliable": true,
"lowestPrice": 0,
"highestPrice": 200,
"description": "Un super concert de PLK à l'accor arena !",
"hasGoodDeal": true,
"image": "<string>",
"imageHeight": 123,
"imageWidth": 123,
"squareImage": "<string>",
"rectangleImage": "<string>",
"webImage": "<string>",
"notAvailableAt": "2024-09-12T12:00:06.138Z",
"cancelledAt": "2024-09-12T12:00:06.138Z",
"createdAt": "2024-09-12T12:00:06.138Z",
"updatedAt": "2024-09-12T12:00:06.138Z",
"googlePlace": {
"id": "ChIJi4rRh5jVEEgRm5kJBs9ZLSY",
"name": "Accor Arena",
"address": "8 Bd de Bercy, 75012 Paris, France",
"lng": 2.3784703,
"lat": 48.8386038,
"averageGrade": 4.4,
"totalGrades": 33620,
"street": "8 Boulevard de Bercy",
"city": "Paris",
"postalCode": 75012,
"country": "FR",
"photoRef": "AdDdOWrRr05l5ZtHh9p6qgAy72UgUAMVDWqI0sRbmbZ8hBWaQH8iVJy0iUz98D6MSGinOIcbvJE_92-N1spK4faWYi99crxOgPMgdF2Ua2XD6Wpg-Abka_7OCnATrn68OqbouJP6Lq5AhkKsCpOQwtizL0RgcTrT0W5M3Ib7S0YLY9hSXp4S",
"website": "https://www.accorarena.com/fr",
"editorialSummary": "<string>",
"periods": [
{
"open": {
"day": 0,
"time": "0900"
},
"close": {
"day": 0,
"time": 1800
}
}
]
},
"place": {
"id": 10,
"googleId": "ChIJ9dfFtXYmVQ0RXL6FkWtY8lA",
"name": "Accor Arena",
"address": {
"lng": 2.123909,
"lat": 42.32981038,
"street": "Rue Saint-Jacques",
"city": "Paris",
"postalCode": 75005,
"country": "France"
},
"image": "<string>",
"squareImage": "<string>",
"rectangleImage": "<string>",
"averageGrade": 123,
"totalGrades": 123
},
"sources": [
{
"id": 45,
"partner": {
"name": "fnac",
"logo": "<string>",
"backColor": "<string>"
},
"startDate": "<string>",
"endDate": "<string>",
"lowestPrice": 0,
"highestPrice": 200,
"isGoodDeal": true,
"commissionFix": 1,
"commissionPerTicket": 1,
"commissionPerCart": 1,
"commissionRate": 0.05,
"link": "<string>",
"isBookable": true,
"availableDates": [
{
"startDate": "<string>",
"endDate": "<string>",
"hasEndDateNotReliable": true,
"hasUnknownAvailability": true
}
],
"averageGrade": 5,
"totalGrades": 1,
"cantRetrieveAvailableDates": true,
"notAvailableAt": "<string>"
}
],
"categories": [
{
"id": 1,
"mainCategory": "expo",
"subCategory": "painting",
"traductionFR": "peinture",
"traductionEN": "painting",
"icon": "<string>"
}
],
"commentaries": [
{
"grade": 5,
"content": "Amazing concert !",
"username": "Wander bot",
"date": "<string>"
}
],
"averageGrade": 5,
"totalGrades": 1,
"trendingScore": 10,
"performers": [
{
"id": 45,
"name": "PLK",
"description": "<string>",
"image": "<string>",
"webImage": "<string>"
}
]
}
],
"pagination": {
"totalItems": 1000,
"totalPages": 20,
"perPage": 50,
"currentPage": 5,
"nextPageParams": {
"pageNumber": 6,
"limit": 50
},
"previousPageParams": {
"pageNumber": 4,
"limit": 50
}
}
}Get events
Get events according to your filters. You can use it to serve a map or event stream.
curl --request POST \
--url https://www.wander-service.fr/api/clients/v2/get/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categories": [
"spectacle"
],
"sources": [
"fnac"
],
"locationFilter": {},
"datesFilter": {
"minDate": "2024-09-12T12:00:06.138Z",
"maxDate": "2024-12-12T12:00:06.138Z"
},
"pricesFilter": {
"lowestPrice": 123,
"highestPrice": 200,
"hasKnownPrice": false
},
"limit": 5,
"pageNumber": 1,
"orderBy": "distance",
"getCommentaries": false,
"getPerformers": false
}
'import requests
url = "https://www.wander-service.fr/api/clients/v2/get/events"
payload = {
"categories": ["spectacle"],
"sources": ["fnac"],
"locationFilter": {},
"datesFilter": {
"minDate": "2024-09-12T12:00:06.138Z",
"maxDate": "2024-12-12T12:00:06.138Z"
},
"pricesFilter": {
"lowestPrice": 123,
"highestPrice": 200,
"hasKnownPrice": False
},
"limit": 5,
"pageNumber": 1,
"orderBy": "distance",
"getCommentaries": False,
"getPerformers": False
}
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({
categories: ['spectacle'],
sources: ['fnac'],
locationFilter: {},
datesFilter: {minDate: '2024-09-12T12:00:06.138Z', maxDate: '2024-12-12T12:00:06.138Z'},
pricesFilter: {lowestPrice: 123, highestPrice: 200, hasKnownPrice: false},
limit: 5,
pageNumber: 1,
orderBy: 'distance',
getCommentaries: false,
getPerformers: false
})
};
fetch('https://www.wander-service.fr/api/clients/v2/get/events', 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/events",
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([
'categories' => [
'spectacle'
],
'sources' => [
'fnac'
],
'locationFilter' => [
],
'datesFilter' => [
'minDate' => '2024-09-12T12:00:06.138Z',
'maxDate' => '2024-12-12T12:00:06.138Z'
],
'pricesFilter' => [
'lowestPrice' => 123,
'highestPrice' => 200,
'hasKnownPrice' => false
],
'limit' => 5,
'pageNumber' => 1,
'orderBy' => 'distance',
'getCommentaries' => false,
'getPerformers' => false
]),
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/events"
payload := strings.NewReader("{\n \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\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/events")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.wander-service.fr/api/clients/v2/get/events")
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 \"categories\": [\n \"spectacle\"\n ],\n \"sources\": [\n \"fnac\"\n ],\n \"locationFilter\": {},\n \"datesFilter\": {\n \"minDate\": \"2024-09-12T12:00:06.138Z\",\n \"maxDate\": \"2024-12-12T12:00:06.138Z\"\n },\n \"pricesFilter\": {\n \"lowestPrice\": 123,\n \"highestPrice\": 200,\n \"hasKnownPrice\": false\n },\n \"limit\": 5,\n \"pageNumber\": 1,\n \"orderBy\": \"distance\",\n \"getCommentaries\": false,\n \"getPerformers\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 100000,
"wanderId": 100000,
"wanderLink": "https://wander-app.fr/event/100000-plk-en-concert-accor-arena",
"name": "PLK en concert",
"startDate": "2024-03-03 06:08:23.222 +0100",
"endDate": "2024-03-04 06:08:23.222 +0100",
"hasEndDateNotReliable": true,
"lowestPrice": 0,
"highestPrice": 200,
"description": "Un super concert de PLK à l'accor arena !",
"hasGoodDeal": true,
"image": "<string>",
"imageHeight": 123,
"imageWidth": 123,
"squareImage": "<string>",
"rectangleImage": "<string>",
"webImage": "<string>",
"notAvailableAt": "2024-09-12T12:00:06.138Z",
"cancelledAt": "2024-09-12T12:00:06.138Z",
"createdAt": "2024-09-12T12:00:06.138Z",
"updatedAt": "2024-09-12T12:00:06.138Z",
"googlePlace": {
"id": "ChIJi4rRh5jVEEgRm5kJBs9ZLSY",
"name": "Accor Arena",
"address": "8 Bd de Bercy, 75012 Paris, France",
"lng": 2.3784703,
"lat": 48.8386038,
"averageGrade": 4.4,
"totalGrades": 33620,
"street": "8 Boulevard de Bercy",
"city": "Paris",
"postalCode": 75012,
"country": "FR",
"photoRef": "AdDdOWrRr05l5ZtHh9p6qgAy72UgUAMVDWqI0sRbmbZ8hBWaQH8iVJy0iUz98D6MSGinOIcbvJE_92-N1spK4faWYi99crxOgPMgdF2Ua2XD6Wpg-Abka_7OCnATrn68OqbouJP6Lq5AhkKsCpOQwtizL0RgcTrT0W5M3Ib7S0YLY9hSXp4S",
"website": "https://www.accorarena.com/fr",
"editorialSummary": "<string>",
"periods": [
{
"open": {
"day": 0,
"time": "0900"
},
"close": {
"day": 0,
"time": 1800
}
}
]
},
"place": {
"id": 10,
"googleId": "ChIJ9dfFtXYmVQ0RXL6FkWtY8lA",
"name": "Accor Arena",
"address": {
"lng": 2.123909,
"lat": 42.32981038,
"street": "Rue Saint-Jacques",
"city": "Paris",
"postalCode": 75005,
"country": "France"
},
"image": "<string>",
"squareImage": "<string>",
"rectangleImage": "<string>",
"averageGrade": 123,
"totalGrades": 123
},
"sources": [
{
"id": 45,
"partner": {
"name": "fnac",
"logo": "<string>",
"backColor": "<string>"
},
"startDate": "<string>",
"endDate": "<string>",
"lowestPrice": 0,
"highestPrice": 200,
"isGoodDeal": true,
"commissionFix": 1,
"commissionPerTicket": 1,
"commissionPerCart": 1,
"commissionRate": 0.05,
"link": "<string>",
"isBookable": true,
"availableDates": [
{
"startDate": "<string>",
"endDate": "<string>",
"hasEndDateNotReliable": true,
"hasUnknownAvailability": true
}
],
"averageGrade": 5,
"totalGrades": 1,
"cantRetrieveAvailableDates": true,
"notAvailableAt": "<string>"
}
],
"categories": [
{
"id": 1,
"mainCategory": "expo",
"subCategory": "painting",
"traductionFR": "peinture",
"traductionEN": "painting",
"icon": "<string>"
}
],
"commentaries": [
{
"grade": 5,
"content": "Amazing concert !",
"username": "Wander bot",
"date": "<string>"
}
],
"averageGrade": 5,
"totalGrades": 1,
"trendingScore": 10,
"performers": [
{
"id": 45,
"name": "PLK",
"description": "<string>",
"image": "<string>",
"webImage": "<string>"
}
]
}
],
"pagination": {
"totalItems": 1000,
"totalPages": 20,
"perPage": 50,
"currentPage": 5,
"nextPageParams": {
"pageNumber": 6,
"limit": 50
},
"previousPageParams": {
"pageNumber": 4,
"limit": 50
}
}
}Authorizations
It is the "access_token" returned after login
Body
It is a filter. By default, you get all the event categories.
1atelier, brocante, cinema, conference, enfants, expo, festival, gastronomie, livres, loisirs, meeting, musique, nature, pro, salon, sciences, soiree, solidarite, spectacle, sport, visite, none It is a filter. By default, you get all sources. Check the back office for possible values.
1You can define a location filter corresponding to a circle or a rectangle.
- Option 1
- Option 2
Show child attributes
Show child attributes
- Option 1
- Option 2
Show child attributes
Show child attributes
Show child attributes
Show child attributes
1 <= x <= 5005
1
You can order the events you get by dates or by prices or by distance to a place definied with 'orderByDistance' or by last update dates to update your records. By default it's by ascendant endDates.
startDate, endDate, updatedAt, lowestPrice, highestPrice, distance "distance"
You can define the coordinates of a place to order events according to their distance from that place.
Show child attributes
Show child attributes
Set it to true if you want to retrieve commentaries on events you get. Warning, this reduces the performance of the request, so only use it if you want to use this data.
false
Set it to true if you want to retrieve performers on events you get. Warning, this reduces the performance of the request, so only use it if you want to use this data.
false
Was this page helpful?