Welcome to the Tickets Analyzer API! 🚀 This API allows you to upload ticket files in PDF and get normalized information about their items in JSON.
To get started with the Tickets Analyzer API, follow these steps:
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/csp33/tickets-analyzer-api.git
- Start the API with Docker 🐳
docker compose up --build
- Enter the Swagger documentation and upload a ticket.
{
"items": [
{
"quantity": 1,
"description": "DUO CANONIGOS RUCULA",
"unit_price": 1.38,
"total_price": 1.38
},
{
"quantity": 1,
"description": "DIGEST",
"unit_price": 1.05,
"total_price": 1.05
},
{
"quantity": 1,
"description": "QUESO LONCHAS LIGHT",
"unit_price": 2.26,
"total_price": 2.26
},
{
"quantity": 1,
"description": "PATATA 3 KG",
"unit_price": 5,
"total_price": 5
},
{
"quantity": 1,
"description": "PIMIENTO CONGELADO",
"unit_price": 1.25,
"total_price": 1.25
}
]
}