Skip to content

k806house/truck-track

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Truck & Track

Setup

  1. Get Google Api Key and set value in envs.py

  2. Install requirements

pip3 install -r requirements.txt
  1. Run app
python3 app.py
  1. API will be available localhost:8080

Endpoints

/predict

Predicts the time from the factory to the customer.

Input parameters:

  • address (string) --- customer address
  • volume (float) --- order volume (m3)
  • date (string) --- date and time of delivery

Output: list of predicted datetimes

Example request:

curl localhost:8080/predict?&address=Yonge-Dundas%20Square%2C%20Dundas%20Street%20East%2C%20Торонто%2C%20Онтарио%2C%20Канада&volume=10&date=2021-09-26T13%3A30%3A42.933Z

Links

Frontend

RnD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages