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

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.1"
    • December 2022
    • first release

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

Uploaded Source

Built Distribution

aeda-2022.12.11-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aeda-2022.12.11.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

Hashes for aeda-2022.12.11.tar.gz
Algorithm Hash digest
SHA256 f00d5a539b804f37f0c6903a69043210d2ad7d1234f90a033764cd5fca6d8775
MD5 cfc0a20d1a3e3236803d17d3e5c96fcd
BLAKE2b-256 d83f9c2e5305bb32097e4ad782a632d8c92e7ed479a575f562ca0584ea921d68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aeda-2022.12.11-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

Hashes for aeda-2022.12.11-py3-none-any.whl
Algorithm Hash digest
SHA256 bd7b1397bcba519d290e95d11ba4df73360a2bd0545fe89f008003db8b841499
MD5 e92da2229ab82ee771424b663f9c83f6
BLAKE2b-256 efed715d03e05a498b918a0da44169d7c121c42191a6e61f8dac778f9938f4fc

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