Wendys

Browse the Wendy's store directory

Returns one level of Wendy's store directory tree. Omit path for the root, which lists Canada and the United States; pass a child's path to descend (country to states, state to cities, city to stores -- a single-store city links directly to its store page one level early). Each child carries its name, path, URL and, at the country/state/city levels, how many stores sit under that branch. A child with is_store true is a store page rather than another directory level -- pass its path to GET /wendys/store.

get/wendys/directory

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/wendys/directory
  • Auth: API key in header x-api-key

Query parameters

pathstring

Directory path from a previous response's children[].path, e.g. united-states/oh. Omit for the root country index.

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "children": [
      {
        "name": "Ohio",
        "path": "united-states/oh",
        "store_count": 388
      }
    ],
    "count": 88,
    "path": "united-states/oh"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.