Skip to content

JohnDeere/OperationsCenterAPI-OAuth2-Python-Example

Repository files navigation

oauth2-example-python

Python version used 3.8

Recommended running instructions:

  1. Create a virtual environment:

    $> python3 -m venv venv
  2. Activate the newly created environment:

    On macOS and Linux:

    $> source venv/bin/activate

    On Windows

    c:\> .\env\Scripts\activate
    
  3. Install dependencies:

    $> (venv) python -m pip install -r requirements.txt
  4. Start the server locally:

    $> (venv) python john-deere-api.py