Created
June 16, 2025 10:12
-
-
Save Alsadiq-Ahmad/9ff6602e423b4eb1d25e433af2fe21ed to your computer and use it in GitHub Desktop.
Webook Crawler API for GPT Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.1.0", | |
"info": { | |
"title": "Webook Crawler API", | |
"version": "1.0.0", | |
"description": "API to retrieve activities and categories from Webook crawler data." | |
}, | |
"servers": [ | |
{ | |
"url": "https://53f3-5-163-159-56.ngrok-free.app" | |
} | |
], | |
"paths": { | |
"/activities": { | |
"get": { | |
"operationId": "getActivities", | |
"summary": "Get activities", | |
"parameters": [ | |
{ | |
"name": "category", | |
"in": "query", | |
"required": false, | |
"schema": { | |
"type": "string" | |
}, | |
"description": "Filter activities by category" | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Successful response", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"category": { "type": "string" }, | |
"activities": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"category": { "type": "string" }, | |
"title": { "type": "string" }, | |
"location": { "type": "string" }, | |
"price": { "type": "string" }, | |
"currency": { "type": "string" }, | |
"booking_url": { "type": "string" } | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/categories": { | |
"get": { | |
"operationId": "getCategories", | |
"summary": "Get available categories", | |
"responses": { | |
"200": { | |
"description": "Successful response", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment