Unoffical Python API for CarJam NZ
Project description
CarJam is a resource for finding information about cars registered in NZ.
Unofficial Python API for Carjam
This API may stop functioning if CarJam updates their website code.
It is provided "as-is" with no implied warranty.
We assume no responsibility for any future issues or interruptions in API functionality as a result of using this library.
Installation
pip install git+https://github.com/kianz20/CarJam-API
Basic car details
import carjam
client = carjam.Client()
details = client.basic_details('aaa000')
Car model details
import carjam
client = carjam.Client()
details = client.model_details('aaa000')
Car fuel consumption
import carjam
client = carjam.Client()
fuel_consumption = client.fuel_consumption("aaa000")
Car images
import carjam
client = carjam.Client()
image = client.image('aaa000')
Car Odometer Details
import carjam
client = carjam.Client()
odo_details = client.odometer_history('aaa000')
NZ Fleet Details
import carjam
client = carjam.Client()
fleet_details = client.fleet_details(1)
fleet_details can also take optional filter variables:
import carjam
client = carjam.Client()
filtered_fleet_details = client.fleet_details(1, make='TOYOTA', query="cor", fuel_type="PETROL")
Development and Contribution
I welcome any contributions to this project, so feel free!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
carjam-1.0.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
carjam-1.0.1-py3-none-any.whl
(4.8 kB
view hashes)