Search
Long Description
Searches against given types.
Parameters
Name | Description | Type | Required |
---|---|---|---|
types OR types[] | Either a comma-separated list (preferred) or an array of entities for which you would like to get. Possible values:
If you use an array be sure to urlencode the square brackets. e.g.: | String | Required |
q | The search query for suggestions. | String | Required |
fuzzy | If search results are to match any instead of all words passed. Default is false. | Boolean | Optional |
order_by_popularity | Indicate if you wish to sort the results with most popular first | Boolean | Optional |
Examples
Request | Response |
---|---|
OR
| { "results": [ { "products_count": 3636, "state": "shown", "occurs_at": null, "_type": "Event", "url": "/events/909300", "updated_at": null, "_score": "1541.52", "configuration": null, "performances": [ { "performer": { "url": "/performers/15533", "id": "15533" }, "primary": true }, { "performer": { "url": "/performers/15535", "id": "15535" }, "primary": false } ], "venue": null, "name": "Toronto Blue Jays at New York Yankees", "category": null, "id": "909300" }, { "products_count": 4087, "state": "shown", "occurs_at": null, "_type": "Event", "url": "/events/913939", "updated_at": null, "_score": "868.28", "configuration": null, "performances": [ { "performer": { "url": "/performers/15533", "id": "15533" }, "primary": false }, { "performer": { "url": "/performers/15541", "id": "15541" }, "primary": true } ], "venue": null, "name": "New York Yankees at Los Angeles Angels", "category": null, "id": "913939" } ] } |