Python client library for interacting with TestLodge.
Project description
Description
Python client library for interacting with TestLodge.
Installation
pip install testlodge
Usage
import os
from testlodge import Client
tl = Client(
email='my.email@email.com',
api_key=os.environ['TESTLODGE_API_KEY'],
account_id=os.environ['TESTLODGE_ACCOUNT_ID'],
)
Users
from testlodge.typing import UserJSON
from testlodge.typing import UserListJSON
user_json: UserJSON = dict(
id=123456,
firstname='First',
lastname='Last',
email='user@email.com',
created_at="2022-01-01T20:30:40.123456Z",
updated_at="2022-05-16T01:08:41.493190Z",
)
# Get a list of users (Default: page 1)
user_list_json: UserListJSON = tl.get_user_list_json()
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
testlodge-0.0.31.tar.gz
(10.3 kB
view hashes)
Built Distribution
testlodge-0.0.31-py3-none-any.whl
(26.0 kB
view hashes)
Close
Hashes for testlodge-0.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1126f5b07507d0227979613d258ebfbbd3fcd81b71ff8e660109a20b44aaa3cf |
|
MD5 | 6a605bfe6a2d9b58f8b78bbbe0d29c82 |
|
BLAKE2b-256 | fd0faa039a274488ba87e5c7f32bc2a6732848a4d77da847088afb82daaee53f |