{"repo":"marc7806/notion-api-cache","free":true,"listed":false,"github":"https://github.com/marc7806/notion-api-cache","clone":"git clone https://github.com/marc7806/notion-api-cache.git","description":"Notion API proxy for caching and faster responses","language":"Go","stars":13,"topics":["api","cache","mongodb","notion","proxy"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"Notion API cache A proxy for the official Notion API Main features 💫 Blazing fast responses due to database caching 🚀 Notion query syntax support ✅ Flattened response data structure for easier attribute access Usage Query Endpoints In order to query the notion-api-cache: Example response: Currently supported Notion filter operators equals does not equal contains starts with ends with is empty is not empty Cache Management Endpoints Update Cache: Clear Cache: Get Cache Status: The Caching Scheduler can be configured using the CACHE SCHEDULER HOURS , CACHE SCHEDULER MINUTES and CACHE SCHEDULER DAYS environment variables. CACHE SCHEDULER DAYS=1 would mean that the notion databases get synced once every day. With CACHE ON STARTUP=true you can configure to automatically trigger a cache refresh on application start. Docker Docker Compose Create a .env file in your root directory. An example file is already present .env.sample . The docker compose also starts a mongodb container. Supported caching providers Mongodb Use mongodb to store your notion database data and query it with the native notion query syntax. Metrics You can read metrics from the /metrics endpoint. The metrics are exposed in the prometheus format. Upcoming features ✅ Cursor-based Pagination support ✅ Scheduler for syncing the notion database data in defined intervals ✅ Sorting support ⬜ Api-token middleware for authentication ⬜ Better notion query syntax and type support Authors This notion-api-cache was written ","default_branch":null,"files":null,"tree":[],"storefront":"/r/marc7806","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marc7806/notion-api-cache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}