REST API
Get crowd entries
GET
https://avoid-crowds.dev/api/crowds
This endpoint allows you to get crowd entries.
Query Parameters
Headers
[
{
"id": 4478,
"title": "Big Crowds expected on May 24 in Venice",
"description": null,
"date": "2019-05-24",
"avoid_crowds_score": 70,
"total_cruise_passengers": "5184",
"total_cruise_crew": "1805",
"ships_in_port": "MSC Lirica\t2371\nNorwegian Star\t2813",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": null
},
{
"id": 4479,
"title": "Very Big Crowds expected on May 25 in Venice",
"description": null,
"date": "2019-05-25",
"avoid_crowds_score": 100,
"total_cruise_passengers": "12920",
"total_cruise_crew": "4815",
"ships_in_port": "Costa Luminosa\t2712\nMSC Musica\t3060\nMSC Sinfonia\t2340\nOceania Riviera\t1447\nRhapsody Of The Seas\t2431\nViking Star\t930",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
},
{
"id": 4480,
"title": "Very Big Crowds expected on May 26 in Venice",
"description": null,
"date": "2019-05-26",
"avoid_crowds_score": 100,
"total_cruise_passengers": "12409",
"total_cruise_crew": "4011",
"ships_in_port": "AIDAblu\t2500\nCosta Deliziosa\t2712\nms Veendam\t1620\nMSC Magnifica\t3007\nMSC Opera\t2570",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
},
{
"id": 4481,
"title": "Big Crowds expected on May 27 in Venice",
"description": null,
"date": "2019-05-27",
"avoid_crowds_score": 70,
"total_cruise_passengers": "2874",
"total_cruise_crew": "1108",
"ships_in_port": "Marella Celebration\t1254\nms Veendam\t1620",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
}
]
{
"message": "Unauthenticated."
}
{
"message": "Restricted user"
}
{
"message": ""
}
{
"message": "Server Error"
}
Get crowd entries by region
GET
https://avoid-crowds.dev/api/crowds/{region}
Query Parameters
Headers
[
{
"id": 4478,
"title": "Big Crowds expected on May 24 in Venice",
"description": null,
"date": "2019-05-24",
"avoid_crowds_score": 70,
"total_cruise_passengers": "5184",
"total_cruise_crew": "1805",
"ships_in_port": "MSC Lirica\t2371\nNorwegian Star\t2813",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": null
},
{
"id": 4479,
"title": "Very Big Crowds expected on May 25 in Venice",
"description": null,
"date": "2019-05-25",
"avoid_crowds_score": 100,
"total_cruise_passengers": "12920",
"total_cruise_crew": "4815",
"ships_in_port": "Costa Luminosa\t2712\nMSC Musica\t3060\nMSC Sinfonia\t2340\nOceania Riviera\t1447\nRhapsody Of The Seas\t2431\nViking Star\t930",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
},
{
"id": 4480,
"title": "Very Big Crowds expected on May 26 in Venice",
"description": null,
"date": "2019-05-26",
"avoid_crowds_score": 100,
"total_cruise_passengers": "12409",
"total_cruise_crew": "4011",
"ships_in_port": "AIDAblu\t2500\nCosta Deliziosa\t2712\nms Veendam\t1620\nMSC Magnifica\t3007\nMSC Opera\t2570",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
},
{
"id": 4481,
"title": "Big Crowds expected on May 27 in Venice",
"description": null,
"date": "2019-05-27",
"avoid_crowds_score": 70,
"total_cruise_passengers": "2874",
"total_cruise_crew": "1108",
"ships_in_port": "Marella Celebration\t1254\nms Veendam\t1620",
"local_public_holiday": null,
"local_school_vacation": 0,
"local_events": null,
"vacations": "England, Wales, Luxembourg"
}
]
{
"message": "Unauthenticated."
}
{
"message": "Restricted user"
}
{
"message": ""
}
{
"message": "Server Error"
}
Get public holidays
GET
https://avoid-crowds.dev/api/public_holidays
Query Parameters
Headers
[
{
"id": 1,
"country": "France",
"name": "New Year's Day (Jour de l'an)",
"date": "2019-01-01",
"scope": "National",
"provinces": null,
"source": "https://www.legifrance.gouv.fr/affichCode.do?idSectionTA=LEGISCTA000033008129&cidTexte=LEGITEXT000006072050"
},
{
"id": 2,
"country": "France",
"name": "Easter Monday (Lundi de Pâques)",
"date": "2019-04-22",
"scope": "National",
"provinces": null,
"source": "https://www.legifrance.gouv.fr/affichCode.do?idSectionTA=LEGISCTA000033008129&cidTexte=LEGITEXT000006072050"
},
{
"id": 3,
"country": "France",
"name": "Labour Day (Fête de Travail)",
"date": "2019-05-01",
"scope": "National",
"provinces": null,
"source": "https://www.legifrance.gouv.fr/affichCode.do?idSectionTA=LEGISCTA000033008129&cidTexte=LEGITEXT000006072050"
}
]
{
"message": "Unauthenticated."
}
{
"message": "Restricted user"
}
{
"message": ""
}
{
"message": "Server Error"
}
Get school vacations
GET
https://avoid-crowds.dev/api/school_vacations
Query Parameters
Headers
[
{
"id": 1,
"country": "Australia",
"description": "Summer Holidays",
"start_date": "2018-12-14",
"end_date": "2019-01-28",
"remark": null,
"scope": "Limited",
"provinces": "Northern Territory",
"source_official": "https://cms.nt.edu.au/_file/szschool/newsletter/31693/attachment/School%20term%20dates%202018%20to%202022.pdf",
"source_unofficial": null
},
{
"id": 2,
"country": "Thailand",
"description": "Christmas Holidays",
"start_date": "2018-12-15",
"end_date": "2019-01-06",
"remark": null,
"scope": "National",
"provinces": null,
"source_official": "http://www.rcis.ac.th/about-the-school/school-calendar/",
"source_unofficial": null
},
{
"id": 3,
"country": "Australia",
"description": "Summer Holidays",
"start_date": "2018-12-15",
"end_date": "2019-01-28",
"remark": null,
"scope": "Limited",
"provinces": "South Australia",
"source_official": "https://www.education.sa.gov.au/teaching/south-australian-state-schools-term-dates?reFlag=1",
"source_unofficial": null
},
{
"id": 4,
"country": "South Korea",
"description": "Winter Holidays",
"start_date": "2018-12-17",
"end_date": "2019-01-06",
"remark": null,
"scope": "National",
"provinces": null,
"source_official": "https://siskorea.org/wp-content/uploads/2017/08/2018-2019-School-Calendar_043018.pdf",
"source_unofficial": null
},
{
"id": 5,
"country": "Germany",
"description": "Christmas Holidays",
"start_date": "2018-12-19",
"end_date": "2019-01-04",
"remark": null,
"scope": "Limited",
"provinces": "Sachsen-Anhalt",
"source_official": "https://www.kmk.org/fileadmin/Dateien/pdf/Ferienkalender/FER18_19.pdf",
"source_unofficial": null
}
]
{
"message": "Unauthenticated."
}
{
"message": "Restricted user"
}
{
"message": ""
}
{
"message": "Server Error"
}
Last updated