Do More With RSS
Two years ago we posted about how there are RSS feeds for individual machines, which lists a particular machine geting added to places.
Those are cool, but were they enough? They weren’t.
So we enhanced them. And now they can do more.
- Support arrays of machines (e.g., multiple machine IDs)
- Support a location ID
- Support latitude and longitude in order to show nearby machines being added.
Here’s an example: http://pinballmap.com/location_machine_xrefs.rss?machine_id[]=4615&machine_id[]=4616&machine_id[]=4617&lat=34.05223&lon=-118.24368
That is showing the three versions of Pokemon being added around Los Angeles.
These are the params:
- machine_id[]=
- location_id[]=
- lat=
- lon=
- max_distance=
Distance defaults to 30 miles, but can be adjusted.
machine IDs can be found here: https://pinballmap.com/api/v1/machines.json?no_details=1
location IDs can reliably be found by looking up a location on the website and then seeing the id in the url or in the permalink.
Have fun!
