Accela REST API
Project description
accelapy
An Accela specific API for https://developer.accela.com/docs/api_reference/api-index.html
How to use:
You may need to get your payload from Accela for your environment.
from accelapy.accelapy.client import AccelaClient
from accelapy.accelapy.records_client.types import Response
from accelapy.accelapy.records_client.models import RecordModel
import json
from typing import List
from accelapy.accelapy.payload import Payload
payload = Payload(payload_str='totally-real-payload')
api_client = AccelaClient(payload=payload)
response: Response = api_client.v4_get_records.sync_detailed(client=api_client.authentication_client, custom_id='E24-00103')
json_load = json.loads(response.content)
record_models : List[RecordModel] = [RecordModel.from_dict(x) for x in json_load['result']]
print(record_models)
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
accelapy-0.2.2.tar.gz
(225.4 kB
view details)
Built Distribution
accelapy-0.2.2-py3-none-any.whl
(694.2 kB
view details)
File details
Details for the file accelapy-0.2.2.tar.gz
.
File metadata
- Download URL: accelapy-0.2.2.tar.gz
- Upload date:
- Size: 225.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4dabd97367aebab406ebe9e6543ffaf51e56ea01143b2b5d6a770721b322d4a |
|
MD5 | c95c6e6acc246a44d1acfea712efeb14 |
|
BLAKE2b-256 | 2c10c2e32a6f84f3d1beefb63a72eec33180d6a799af2d09b68f1a468cd8cea6 |
File details
Details for the file accelapy-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: accelapy-0.2.2-py3-none-any.whl
- Upload date:
- Size: 694.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f05063a5cf76b8c5b74e2219d97c63ecc3d5000689b46a1ed1bfbb989e4bee84 |
|
MD5 | e1680aac5f61f965f53859e4d43bb691 |
|
BLAKE2b-256 | d5ad25df92effc19d8c2b9280a6aa3a90030e60b9c0b4665431ea3d56f5b5811 |