A command-line interface (CLI) tool written in Python to interact with the Simple Support Ticket API. This tool demonstrates proficiency with command-line applications and REST API consumption.
- List all tickets or filter by status.
- View the details of a specific ticket.
- Create a new ticket directly from the terminal.
- Python 3
requestslibrary (pip install requests)- The "Simple Support Ticket API" project must be running.
List all open tickets:
python tickets.py list --status Open
View ticket with ID 1:
python tickets.py view 1
Create a new ticket:
python tickets.py create --name "John Doe" --email "john@example.com" --subject "CLI Creation Test" --body "My issue is..."