Skip to content

About

A Python library for interacting with the NissanConnect API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyKamereon

A Python library for interacting with the NissanConnect API, converted from the Dart library dartnissanconnect by Tobias Westergaard Kjeldsen @tobiaswkjeldsen (https://gitlab.com/tobiaswkjeldsen)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/pyKamereon.git
    cd pyKamereon
  2. Create a virtual environment and activate it:

    python3 -m venv .venv
    source .venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage of the example

  1. Create a .env file in the root of the project and add your NissanConnect credentials:

    NISSAN_USERNAME="your-username"
    NISSAN_PASSWORD="your-password"
    
  2. Run the example script:

    python example.py

Library Structure

  • lib/: The core library files.
    • kamereon_session.py: Handles authentication and session management.
    • kamereon_vehicle.py: Provides methods for interacting with the vehicle.
    • models/: Contains the data models for the API responses.
  • example.py: An example script demonstrating how to use the library.
  • requirements.txt: A list of the required Python packages.

About

A Python library for interacting with the NissanConnect API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages