Skip to content

A simple API framework for controlling cars via API with a PyTest testing server.

Notifications You must be signed in to change notification settings

lonerz/smartcar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smartcar

Installation

Make sure to run pip3 install -r requirements.txt to install all necessary requirements.

Running the server

Just run python3 server.py to start up the server. The server boots up on port 5000, so you can access the GET commands via the browser by going to, for example, http://localhost:5000/vehicles/1000.

Running tests

Run pytest -v to run tests. This will automatically run tests for the Smartcar API and makes sure we are calling the right things to the GM API also.

About

A simple API framework for controlling cars via API with a PyTest testing server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages