Use this API to search for Google Places, both existent or non-existent within MealMe's store selection.
Here's a description of all the values the input parameter search_type
can take on:
-
place
- use this search type to search for Google Places (i.e. Starbucks, Target, etc.). If the Google Place already exists within MealMe, then themealme_store_id
property in the response will hold its corresponding MealMe store ID. If the Google Place doesn't currently exist within MealMe, then themealme_store_id
property will be empty and you can attempt to add it to MealMe via the Add Store API. -
address
- use this search type to search for a specific address. For example, passingsearch=188 King
will return the most similar address nearest to the provided coordinates (location_bias_latitude
andlocation_bias_longitude
), which in this case is188 King St, San Francisco, CA 94107, US
. -
addresses
- use this search type to perform an address autocomplete search. Alternatively, you can use the Address Search SDK to enable address autocomplete on your front end.