| .gitignore | ||
| __init__.py | ||
| CODE_OF_CONDUCT.md | ||
| config-sample.py | ||
| CONTRIBUTING.md | ||
| delete.py | ||
| delete_tickets.py | ||
| extract_tickets.py | ||
| LICENSE.md | ||
| push.py | ||
| README.md | ||
| SECURITY.md | ||
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.pytoconfig.py.
- Edit config.pywith your credentials and defaults.
- To extract the tickets records from the DineConnect API and post them to the Mongo database, run python3 extract_tickets.pyand follow the instructions of the script.
- To delete tickets from the Mongo database, run python3 delete_tickets.pyand follow de instructions of the script.