Welcome to the Flashduty Tools repository! This repository contains various tools and scripts for interacting with the Flashduty API and handling related tasks.
- Python 3.x
requests
library
- Clone this repository:
git clone https://github.com/your-username/flashduty-tools.git cd flashduty-tools
- Install dependences:
pip install -r requirements.txt
- Incident Exporter: A script to fetch incident data from the Flashduty API using cursor-based pagination and export it to a CSV file.
- Open incident_exporter.py and set your API URL and app key.
- Modify the start_time and end_time to the Unix timestamps for the desired time range.
- Run the script:
python incident_exporter.py
- The exported CSV file will be saved as incidents_export.csv in the same directory.