SDK for KillB API V2
Project description
Kill-B Python SDK
This is the official Python SDK for interacting with the Kill-B API V2.
Installation
You can install the SDK via pip:
pip install killb-sdk-python
Requirements
This SDK requires only the requests library. You can install it using pip:
pip install requests
Usage
Authentication
To start using the SDK, you need to authenticate with your Kill-B API credentials:
from killb_sdk_python import Client
# Replace with your environment, email, password, and optional API key
api_client = Client(environment='production', email='your@email.com', password='your_password', api_key='your_api_key')
Creating a User
You can create a user using the User class:
# Create user data
user_data = {
'firstName': 'John',
'lastName': 'Doe',
'dateOfBirth': '1990-01-01',
'email': 'john@example.com',
# Add other required fields
}
# Create the user
user_client = api_client.User.create(user_data)
print("User created successfully:", user_client)
For more detailed documentation and examples, please refer to the API documentation.
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
killb_sdk_python-1.0.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for killb_sdk_python-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9d2f3535b000f5121ba47761baa1ce87bedf9a499c5354bfbb65e50f377b1e |
|
MD5 | e55ad581c6e32fcdcaa3015e1338902c |
|
BLAKE2b-256 | 8a9dc51ebe9873b9423316311d53f84b5754e16f64d9387270cb69cc62d8d9ec |