Skip to content

zareifar/ordercli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrderCli

This CLI tool parses the employee orders provided by an XML file and sends the orders to partners API. Since Nourish.me API is not a functioning API, this behavior was simulated by a mock API.

Project dependecies:

In this project Marshmallow was used for serializing/deserialing data and data validation, and Requests was used to handle requests.

usage

To use the app, create a virtual environment and install the dependencies using the command below:

pip install -r requirements.txt

Run the tool using this command:

python ordercli </path/to/employee_orders.xml>

Run the tests using this command:

pytest tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages