Put your school's holiday dates on your website or VLE
The code above will show the current year's dates.
To show multiple calendar years, add another iframe with &yearID=2011 added to the address, as shown in the following example:
API Outputs and Definition
we output XML 1.0 as per the below example.API - Is it a holiday today? (LA level)
Overview:Simple API query to find out if a local authority is currently on holiday. Please Contact Us for more information
http://myschoolholidays.com/la-xml.php?ons=[LACODE] replacing [LACODE] with a Local Authority code.
Example:
http://myschoolholidays.com/la-xml.php?ons=20UE
API - Is it a holiday on date xxxx? (LA level)
Overview:Simple API query to find out if a local authority is on holiday on a given date.
http://myschoolholidays.com/la-xml.php?ons=[LACODE]&date=[YYYY-MM-DD] replacing [LACODE] with a Local Authority code and adding a date.
Example:
http://myschoolholidays.com/la-xml.php?ons=20UE&date=2010-04-13 will show that on the 13th April, it is a holiday in Durham.
API - What is the full Holiday Schedule for an LA?
Overview:Simple API query to extract all holiday dates for a particular LEA
http://myschoolholidays.com/la-xml.php?ons=[LACODE]&full=1&key=[APIKEY] replacing [LACODE] with a Local Authority code and APIKEY with your API Key (Contact us for an API Key)
Example:
http://myschoolholidays.com/la-xml.php?ons=20UE&full=1 will output all holiday dates we hold for Durham County Council.

