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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aeda-2022.12.8.tar.gz
  • Upload date:
  • Size: 5.8 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.8.tar.gz
Algorithm Hash digest
SHA256 799266acd806f1f1f869ddc3f76cf56e503bf009932c38bee205b4c6364a7d90
MD5 14e402b521a3c1f29bfe49400dd632f0
BLAKE2b-256 ebbbc0a0eefdc88692798f0e91d1be578281ae6f2ba764c5f8fb2eb020774ece

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aeda-2022.12.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b79ff96ad24c7836343221aa848e9631d0da72f9cdade86e71da64e4422acb85
MD5 5e40dc315bfb674f84996a8e77d9c564
BLAKE2b-256 61347c4363b2473725c1b1a8dbcf379a4447613601ad216c60ae87c60b402850

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