The Sushi Selector ? is a Postman collection that recommends a nearby sushi spot. When run locally with the Postman collection runner, the collection searches for sushi restaurants and posts the recommendation as a direct message to your Twitter.
You can customize Sushi Selector’s criteria such as location, distance, and price range with environment variables. If you don’t like sushi ?, you can tweak the collection to search for the cheapest burger joint, the nearest park, or the highest rated tourist attractions.
If you’re new to Postman, or just want to level up your Postman game, follow along and explore some concepts that might be new to you if you’re New to Postman.
Watch the entire New to Postman YouTube playlist:
Try it yourself
Want to try it out? Click the orange Run in Postman button to import the sample collection and environment into your Postman app.
Before you can run the Sushi Selector collection, you need to select and update the environment that you just downloaded. Make sure you don’t copy and paste any trailing spaces.
|Environment Variable Name||Description|
|A Google Places API Key|
|A Google Maps Geocoding API Key|
|Specifies the combination of address, neighborhood, city, state, or zip to be used when searching for places. This will be geocoded into a latitude and longitude.|
|Your Twitter Handle to send yourself a direct message|
|Your Twitter app’s auth credentials to set up OAuth 1.0. Make sure you don’t copy and paste any trailing spaces.|
Need help getting started? Read the Sushi Selector collection documentation for screenshots and step-by-step instructions to set up and run the collection.
Since this example collection relies on Postman scripts under the Pre-request Script and Tests tabs, pay special attention to the code and comments under those tabs in the Postman app for more details.