iOpenAt.com API
The API is designed to be very simple and it will give you the opening times of the five nearest locations of the postcode you want.
Simply do a GET request to:
"https://iopenat.com/api/result.php?postcode=postcodeofyourchoice"
and parse the data.
Please note that currently, we only have stores located in the UK. More countries coming very soon.
Working Example
For a working example, go here:
https://iopenat.com/api/result.php?postcode=sk14 5rpParsing the data
The API will give you 4 fields per line. The fields are delimited by commas ( , ) and enclosed in quotations ( " ). The fields are as follows:
- Name of the store.
- Address of the store.
- Telephone Number.
- Opening times delimited by "|". All times are Monday through to Sunday.
Parsing Example
"Argos Hyde","1 Howard Place, Clarendon Square Shopping Centre,Hyde,Cheshire,SK14 2TA","0845 4033030","0900-1730|0900-1730|0900-1730|0900-1730|0900-1730|0900-1730|1000-1600"
- Store name = Argos Hyde
- Store address = 1 Howard Place, Clarendon Square Shopping Centre,Hyde,Cheshire,SK14 2TA
- Store telephone number = 0845 4033030
- Monday Opening times = 0900-1730
- Tuesday Opening times = 0900-1730
- Wednesday Opening times = 0900-1730
- Thursday Opening times = 0900-1730
- Friday Opening times = 0900-1730
- Saturday Opening times = 0900-1730
- Sunday Opening times = 1000-1600