Scheduled Api
This module is designed to handle scheduled API requests in a Frappe application, allowing for asynchronous processing, execution outcome management, response creation, and communication with external systems via callback URLs.
- Author: aakvatech
- Repository: https://github.com/aakvatech/scheduled_api
- GitHub stars: 0
- Forks: 4
- License: NOASSERTION
- Category: Integrations
- Maintenance: Unmaintained
Install Scheduled Api
bench get-app https://github.com/aakvatech/scheduled_api
Add the Frappe Gems badge to your README
Maintain Scheduled Api? Paste this into your README:
[](https://frappegems.com/gems/apps/aakvatech/scheduled_api)
About Scheduled Api
Scheduled API Request Module
This module is designed to handle scheduled API requests in a Frappe application, allowing for asynchronous processing, execution outcome management, response creation, and communication with external systems via callback URLs.
Features
- Asynchronous task execution: The module utilizes Frappe's background job system to enqueue and execute tasks asynchronously.
- Schedule Request processing: The module processes "Schedule Request" documents and determines whether to create a new document or call a specified method based on the request.
- Error handling and retries: The module gracefully handles exceptions during request execution, updates the status accordingly, and retries failed requests.
- Schedule Response creation: The module creates "Schedule Response" documents based on the outcome of the request execution, including success, errors, and traceback information.
- Callback URL support: The module supports sending responses to specified callback URLs, with configurable headers and automatic retries upon failure.
- Pending and Failed request processing: The module provides a function to process all pending and failed "Schedule Request" documents, allowing for easier recovery and rescheduling.
- Modular design: The module is organized into separate functions for enqueueing, executing, and sending responses, which promotes readability and maintainability.
Installation
- Clone the repository into your Frappe application.
git clone
Install the required dependencies.
Configure the module in your Frappe application according to your requirements.
Usage
Create and configure "Schedule Request" documents with the desired method, data, and callback information.
Use the provided functions to enqueue, execute, and manage requests and responses, as well as process all pending and failed requests.
Monitor and manage "Schedule Response" documents for response status, data, errors, and traceback information.
Contributing
Contributions are welcome! Please submit a pull request or open an issue if you find a bug or would like to request a new feature.
License
This project is licensed under the gpl3 License - see the LICENSE.txt file for details.
Acknowledgments
- Yousef Restom
- Mitesh P Choksi
Related Integrations apps for Frappe & ERPNext
- Insights — Open Source Business Intelligence Tool
- Raven — Simple, open source team messaging platform
- Frappe Whatsapp — WhatsApp cloud integration for frappe
- Frappe Assistant Core — Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model
- Biometric Attendance Sync Tool — A simple tool for syncing Biometric Attendance data with your ERPNext server
- Frappe React Sdk — React hooks for Frappe
- Frappe Js Sdk — TypeScript/JavaScript library for Frappe REST API
- Mcp — Frappe MCP allows Frappe apps to function as MCP servers