Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flashcatcloud/flashduty-tools
Tools and scripts for the Flashduty.
https://github.com/flashcatcloud/flashduty-tools
Last synced: about 1 month ago
JSON representation
Tools and scripts for the Flashduty.
- Host: GitHub
- URL: https://github.com/flashcatcloud/flashduty-tools
- Owner: flashcatcloud
- Created: 2024-09-10T06:46:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T02:28:00.000Z (4 months ago)
- Last Synced: 2024-09-14T15:40:43.692Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flashduty Tools
Welcome to the Flashduty Tools repository! This repository contains various tools and scripts for interacting with the Flashduty API and handling related tasks.
## Requirements
- Python 3.x
- `requests` library## Installation
1. Clone this repository:
```bash
git clone https://github.com/your-username/flashduty-tools.git
cd flashduty-tools
```
2. Install dependences:
```bash
pip install -r requirements.txt
```## Usage
- **Incident Exporter**: A script to fetch incident data from the Flashduty API using cursor-based pagination and export it to a CSV file.
1. Open incident_exporter.py and set your API URL and app key.
2. Modify the start_time and end_time to the Unix timestamps for the desired time range.
3. Run the script:
```bash
python incident_exporter.py
```
4. The exported CSV file will be saved as incidents_export.csv in the same directory.