Python scripts to connect to DineConnect API, extract ticket data and post to a Mongo database
Go to file
2025-03-10 16:55:48 +08:00
.gitignore Initial commit 2025-03-07 21:13:28 +08:00
__init__.py Initial commit 2025-03-07 21:13:28 +08:00
CODE_OF_CONDUCT.md Initial commit 2025-03-07 21:13:28 +08:00
config-sample.py Fix typo in config-sample.py 2025-03-08 01:37:21 +08:00
CONTRIBUTING.md Initial commit 2025-03-07 21:13:28 +08:00
delete.py Add delete functionality 2025-03-10 16:43:04 +08:00
delete_tickets.py Add delete functionality 2025-03-10 16:43:04 +08:00
extract_tickets.py Add extract_tickets.py 2025-03-08 01:33:14 +08:00
LICENSE.md Initial commit 2025-03-07 21:13:28 +08:00
push.py Add push.py 2025-03-07 22:29:04 +08:00
README.md Update README.md 2025-03-10 16:51:13 +08:00
SECURITY.md Update SECURITY.md 2025-03-10 16:55:48 +08:00

Objective

These Python scripts allow to extract records from the DineConnect API and post them to a Mongo database.

Requirements

  • Python installed on the machine running this application.
  • Credentials for accessing the DineConnect API - you need to request to DineConnect for your credentials.
  • Credentials for writing to a MongDB database - this database will be used for storing the data extracted from the DineConnect API.

How to run this application

  • Copy the file config-sample.py to config.py.
  • Edit config.py with your credentials and defaults.
  • To extract the tickets records from the DineConnect API and post them to the Mongo database, run python3 extract_tickets.py and follow the instructions of the script.
  • To delete tickets from the Mongo database, run python3 delte_tickets.py and follow de instructions of the script.