Prerequisites: This ticket is to be done following successful completion of #84.
Description:
Create request URLs for the Google Places API based on our facilities list and document these for the group including any helpful learning from doing this and the previous research ticket.
Considerations:
The request URLS should reflect the actual requests that will be made from our own API to the Google Places API and so they will include the following params:
[ ] One or more required facilities OR one or more wanted facilities
[ ] Location
[ ] Maximum distance
The response data must include:
[ ] The cafe name
[ ] Address
[ ] Website
[ ] Telephone
[ ] Email
[ ] Opening times
[ ] Location data
[ ] Image
[ ] Availability of any of our facility list whether picked or not.
AC:
Provide sample request URLs for location 51.5076, -0.0994, distance 1 mile, wanted facility:
[ ] Wheelchair-accessible
[ ] Wifi
[ ] Toilets
[ ] Baby changing
[ ] Visual impaired
[ ] Outdoor area
[ ] Autism-friendly
[ ] Quiet area
NOTE: or adapt the above if there are any changes as a result of prior research.
Provide sample request URLs for location 51.5076, -0.0994, distance 2 miles, wanted facilities:
[ ] Wheelchair-accessible, wifi and autism-friendly
NOTE: Any request with wanted facilities should return cafes with ANY of the wanted facilities.
Provide sample request URLs for location 51.5076, -0.0994, distance 3 miles, required facilities:
[ ] Wheelchair-accessible
[ ] Wheelchair-accessible and outdoor area
[ ] Wheelchair-accessible, autism-friendly and outdoor area
NOTE: Any request with required facilities should return ONLY cafes with ALL of the required facilities.
Add documentation:
[ ] Document the sample request URLs in the Shared Learning section of the Resources and Learning MD file.
[ ] Include any useful info and learning about this in the Shared Learning section of the Resources and Learning MD file.
[ ] Update the relevant section of the README about the API key.
Prerequisites: This ticket is to be done following successful completion of #84.
Description: Create request URLs for the Google Places API based on our facilities list and document these for the group including any helpful learning from doing this and the previous research ticket.
Considerations: The request URLS should reflect the actual requests that will be made from our own API to the Google Places API and so they will include the following params:
The response data must include:
AC: Provide sample request URLs for location 51.5076, -0.0994, distance 1 mile, wanted facility:
Provide sample request URLs for location 51.5076, -0.0994, distance 2 miles, wanted facilities:
Provide sample request URLs for location 51.5076, -0.0994, distance 3 miles, required facilities:
Add documentation: