https://advice-api-smoky.vercel.app/api/advice?apiKey=your_api_key
HTTPS Method | Get |
---|---|
URL | https://advice-api-smoky.vercel.app/api/advice?apiKey=your_api_key |
Description | Returns a random advice slip as a slip object |
Parameters | apiKey Required. |
HTTPS Method | Get |
---|---|
URL | https://advice-api-smoky.vercel.app/api/advice/{slip_id}?apiKey=your_api_key |
Description | If an advice slip is found with the corresponding {slip_id}, a slip object is returned. |
Parameters | apiKey Required. |
HTTPS Method | Get |
---|---|
URL | https://advice-api-smoky.vercel.app/api/advice/search/{query}?apiKey=your_api_key |
Description | If an advice slip is found, containing the corresponding search term in {query}, an array of slip objects is returned inside a search object. |
Parameters | apiKey Required. |