Skip to main content

Aeda car API

Project description

mypic

PyPi

Aeda API

An Aeda service for getting detailed info for cars using registration number.

Getting Started

1. Installation process

Install from PyPi using:

python -m pip install aeda

Add global variables

AEDA_API_CAR_USER

and

AEDA_API_CAR_PASSWORD

Ubuntu

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. Usage

Run either using command line or as a python library.

Command line

Run from command line using:

python -m aeda.car.main --regnumber XXXXXXXXX

Run in a python script using:

import aeda.car
aeda.car.get_car_from_reg_number("XXXXXXXXX")

2. API references

  • version "2022.12.1"

Project details


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.9.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

aeda-2022.12.9-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file aeda-2022.12.9.tar.gz.

File metadata

  • Download URL: aeda-2022.12.9.tar.gz
  • Upload date:
  • Size: 5.9 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

Hashes for aeda-2022.12.9.tar.gz
Algorithm Hash digest
SHA256 bef1d94b1ea5c366dd792416356db8d6daedc620b32432a4e594dfa6bf2ede33
MD5 1fb52878fc7a9f63f30d7aec4d90dbae
BLAKE2b-256 36b99e27222371364a66cd3c78a9380b42acef4594eb77ee5e57af9d32d38e57

See more details on using hashes here.

File details

Details for the file aeda-2022.12.9-py3-none-any.whl.

File metadata

  • Download URL: aeda-2022.12.9-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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

Hashes for aeda-2022.12.9-py3-none-any.whl
Algorithm Hash digest
SHA256 30987b811469e282a939c53d815aa37fc46793323bd103e12d970df76e1f4c96
MD5 69aa439456a794a9d064071caf951639
BLAKE2b-256 9797acefc80c04f9af54acbc5882eafbe1235ae58a3be01b30643148deca5bff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page