This sends locations within the sw_corner and ne_corner bounding box. It includes a list of machines at the location. If the bounding box diagonal exceeds 500 miles and no limit param and no_details != 2 is sent, results are capped at 50 and pagination metadata is included in the response.
| Param name | Description |
|---|---|
|
swlat
required |
SW_Latitude Validations:
|
|
swlon
required |
SW_Longitude Validations:
|
|
nelat
required |
NE_Latitude Validations:
|
|
nelon
required |
NE_Longitude Validations:
|
|
by_type_id
optional |
Location type ID to search by Validations:
|
|
manufacturer
optional |
Locations with machines from this manufacturer. Multiple manufacturers can be chained together like manufacturer[]=Stern&manufacturer[]=Bally etc. Validations:
|
|
by_machine_id
optional |
Machine ID to find in locations, returns all versions in group. Multiple IDs can be chained together like by_machine_id[]=111&by_machine_id[]=222 etc. Validations:
|
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version. Multiple IDs can be chained together like by_machine_single_id[]=111&by_machine_single_id[]=22. Validations:
|
|
by_machine_group_id
optional |
Machine Group ID to find in locations. Multiple IDs can be chained together like by_machine_group_id[]=111&by_machine_group_id[]=22. Validations:
|
|
by_machine_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with any variant models of the machine. Multiple IDs can be chained together like by_machine_id_ic[]=111&by_machine_id_ic[]=22. Validations:
|
|
by_machine_single_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with exact model of the machine. Multiple IDs can be chained together like by_machine_single_id_ic[]=111&by_machine_single_id_ic[]=22. Validations:
|
|
by_machine_year
optional |
Locations with at least one machine manufacturered in this year. Multiple years can be chained together by_machine_year[]=1980&by_machine_year[]=1982. Validations:
|
|
by_machine_year_gte
optional |
Locations with at least one machine manufactured in this year or later Validations:
|
|
by_machine_year_lte
optional |
Locations with at least one machine manufactured in this year or earlier Validations:
|
|
by_operator_id
optional |
Operator ID to search by Validations:
|
|
by_ic_active
optional |
Send only locations that have at least one machine that is tagged as Stern Insider Connected Validations:
|
|
user_faved
optional |
User ID of Faved Locations Validations:
|
|
by_ipdb_id
optional |
IPDB ID to find in locations. Multiple IDs can be chained together like by_ipdb_id[]=4565&by_ipdb_id[]=2345. Validations:
|
|
by_opdb_id
optional |
OPDB ID to find in locations. Multiple IDs can be chained together like by_opdb_id[]=4565&by_opdb_id[]=2345. Validations:
|
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
|
by_machine_type
optional |
Locations with machines of this type (em, ss, me). Multiple types can be chained together like by_machine_type[]=ss&by_machine_type[]=em. Validations:
|
|
by_machine_display
optional |
Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights). Multiple display types can be chained together like by_machine_display[]=dmd&by_machine_display[]=reels. Validations:
|
|
no_details
optional |
Omit data that app does not need from pull (options include ‘1’ or ‘2’) Validations:
|
|
by_all_ages
optional |
Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages. Validations:
|
|
by_payment_type
optional |
Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play). Validations:
|
|
limit
optional |
Limit results to a quantity and include pagination metadata in response Validations:
|
|
order_by
optional |
Order results descending by a field in the locations scope. Allowed fields are updated_at, name, machine_count, distance. Otherwise, sorts by location ID. Using distance requires user_lat and user_lon params Validations:
|
|
machines_only
optional |
When set to ‘1’, returns only a flat list of unique machine_ids found across all matching locations. No location data is included. Validations:
|