Aeda car API
Project description
Aeda API
An Aeda service for getting detailed info for cars using registration number.
Getting Started
Installation process
1. Install from PyPi using:
python -m pip install aeda
2. Add global variables
AEDA_API_CAR_USER
AEDA_API_CAR_PASSWORD
2.1 Ubuntu
Run in console or add to ~/.bashrc
or ~/.zshrc
or other system command config files:
export AEDA_API_CAR_USER=$(yq -r '.aeda.api.car.user' ~/.secrets/aeda.yaml)
Where ~/.secrets/aeda.yaml
is a YAML file containing
aeda:
api:
car:
user: XXXXXXXX
password: XXXXXXXXXXXXXX
Remember to install yq with
apt install yq
2.2 Windows
Usage
Run either using command line or as a python library.
1. Command line
Run from command line using:
python -m aeda.car.main --regnumber XXXXXXXXX
2. API
Run in a python script using:
import aeda.car
aeda.car.get_car_from_reg_number("XXXXXXXXX")
API references
Endpoint:
https://aedacar.azurewebsites.net/api/car?code=BzaCA1bdqU21cfZVn8r3KJwaoivzaOla7o6sLa-qD0elAzFulXlzyA==
Payload:
{'payload': {'username': 'XXXXXXX'.
'apiKey': 'XXXXXXX',
'regNumber': 'XXXXXXX'
}
}
Versions
Using Calender Versioning: YYYY.MM.PATCH
- version "2022.12.11"
- December 2022
- update README.md
- version "2022.12.1"
- December 2022
- first release
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
aeda-2022.12.12.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file aeda-2022.12.12.tar.gz
.
File metadata
- Download URL: aeda-2022.12.12.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4124f23fb3ed6d1455f9259ad2b494664a7a0a7e358338a0894ba11d48c5e4f |
|
MD5 | e1d836f0273a227699ba9508e209777c |
|
BLAKE2b-256 | 1e9061cbe96ad1a0bcf4b7dca1a1df561bb0baa5bb344601594151d500d07d6d |
File details
Details for the file aeda-2022.12.12-py3-none-any.whl
.
File metadata
- Download URL: aeda-2022.12.12-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b3de51e9897900bd4a142157d7a89e030b794d2c565c77858f96dfdbde3374 |
|
MD5 | 533d1ad2b662c44073b484a4c71300d3 |
|
BLAKE2b-256 | b5275ed72f0e149fe65ca35657a16c07619ceb8b829f452e12f7aecbbcb034c6 |