Skip to content

Instantly share code, notes, and snippets.

@Alsadiq-Ahmad
Created June 16, 2025 10:12
Show Gist options
  • Save Alsadiq-Ahmad/9ff6602e423b4eb1d25e433af2fe21ed to your computer and use it in GitHub Desktop.
Save Alsadiq-Ahmad/9ff6602e423b4eb1d25e433af2fe21ed to your computer and use it in GitHub Desktop.
Webook Crawler API for GPT Actions
{
"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