Skip to content

Onfleet open source repository for developers

Notifications You must be signed in to change notification settings

Threeethan/developer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Onfleet Developer open source repository

Synopsis

This repository is a collection of resources and tools that may be freely used to augment and accelerate custom integration with the Onfleet API.

Note All python scripts require Python 3.

Content

  • Onfleet webhooks backend - python
    • Create dedicated endpoints to validate and receive payloads from various Onfleet webhook triggers.
  • CSV task export - python
    • Export tasks from the Onfleet list tasks API endpoint either in CSV format, or in plain JSON. Specify time range, task state, and other query parameters.
  • Driver import - python
    • Interactive CLI to bulk-import drivers from CSV-formatted spreadsheets via the Onfleet API.

Related resources

Onfleet API documentation

Onfleet API Wrapper client libraries

Installation

1 Clone the developer repository to your local development directory or download the zip file from github, and change to that directory.

git clone git@github.com:onfleet/developer ./onfleet-developer
cd ./onfleet-developer

2 Change directory to one of the onfleet/developer tools. Ex:

cd ./api-tools/webhooks

2a (optional) create a new virtual environment that uses Python 3

python3 -m venv ./venv

2b (optional) activate the virtual environment (note: venv must be activated in the terminal session before running any onfleet-developer python script)

source venv/bin/activate

3 Install all required python modules (note: use pip3 if python 3 isn't your default python version)

pip install -r requirements.txt

About

Onfleet open source repository for developers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%