FB Pixel

GrubHub Restaurant Search - Pagination By steve


Disclaimer: This formula contains endpoints that are not part of official APIs endorsed by grubhub.com and is documented here only for informational purposes. These endpoints were obtained through use of software or services made publicly available by grubhub.com. If you are considering using this workflow formula with Stevesie or any other tool that may be deemed automated access, you must check grubhub.com's Terms of Service to ensure said access is not prohibited. If you are not sure whether or not your use of this tool or any other tool in a specific instance violates grubhub.com's Terms of Service or applicable law, you should consult with competent legal counsel before proceeding. Learn more here: Is Data Scraping Legal?

Get basic information back about restaurants listed on GrubHub (such as name, location, phone number, popular menu items & more) using the unofficial restaurant search endpoint, paginating through the results so you get back the full result set. You can target any geographic location by providing the geo-coordinates and a search radius.

Getting Started

Import this formula to copy the workflow into your account, which you’ll then be able to configure. You’ll want to configure your input collection with search coordinates, e.g. you could start with the following to get restaurants in New York and Los Angeles:

[
  {"lat": "40.760280", "lon": "-73.976918", "radius": 25},
  {"lat": "34.057645", "lon": "-118.324510", "radius": 50}
]

If entered as the source input collection, this will show how the workflow could get all search results for New York in a 25 mile radius and combine them with all results from Los Angeles in a 50 mile radius, aggregating all results together in a single CSV file for easy analysis.

⚙️  GrubHub Restaurant Search - Pagination

Inputs

GrubHub Coordinates .lat
JSON List
➡️ Latitude
GrubHub Coordinates .lon
JSON List
➡️ Longitude
GrubHub Auth Token
List
➡️ Auth Token
GrubHub Coordinates .radius
JSON List
➡️ Search Radius

GrubHub Restaurant Search - Current Page Number (Self-Loop) Pagination Limit: Unlimited
Increment: 1
➡️ Offset

Search Radius
Offset
Location Mode

Extractors

  • GrubHub Restaurant Search - Restaurants
  • GrubHub Restaurant Search - Menu Items
Posted by steve on Aug. 21, 2019, 12:24 a.m. 🚩  Report

📱 Apps

🧪 Related Formulas

Restaurant Details & Menu

Restaurant Search