Raising Cane's

Browse the Raising Cane's store directory

Returns one level of Raising Cane's store directory tree. Omit path for the root, which lists the US states Raising Cane's operates in; pass a child's path to descend (state to cities, city to stores). Each child carries its name, path, URL and how many stores sit under that branch. A child with is_store true is a store record rather than another directory level -- pass its path to GET /raisingcanes/store. This is a directory browse, not a proximity search: use GET /raisingcanes/nearby for a radius lookup.

get/raisingcanes/directory

Request

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

Query parameters

pathstring

Directory path from a previous response's children[].path, e.g. la. Omit for the root state 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": "Louisiana",
        "path": "la",
        "store_count": 144
      }
    ],
    "count": 38,
    "path": "la"
  }
}

Changes

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