Execute API calls to Naumen Service Desk from python code
Project description
naumen-service-desk-client
Python client for (Naumen Service Desk). Execute API calls to NSD from python code.
Installation
pip install naumen-service-desk-client
Examples
Create class
from naumen_service_desk_client import NaumenSDClient
nsd = NaumenSDClient( "NSD_DOMAIN", "NSD_TOKEN" )
where:
- NSD_DOMAIN: URL of Naumen Service Desk
- NSD_TOKEN: AccessKey of Naumen Service Desk
or using environment variables "NSD_DOMAIN" and "NSD_TOKEN"
from dotenv import load_dotenv
import os
from naumen_service_desk_client import NaumenSDClient
load_dotenv()
def main():
nsd = NaumenSDClient(
os.getenv("NSD_DOMAIN"),
os.getenv("NSD_TOKEN")
)
print( nsd.health_check() )
if __name__ == "__main__":
main()
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
File details
Details for the file naumen_service_desk_client-1.0.0.tar.gz
.
File metadata
- Download URL: naumen_service_desk_client-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b76ccf93e6a049bbfa4f7c4c36c062a29f5017cd08e4c18d9c1656d7afb8ed18 |
|
MD5 | 6978c660004ba4dbb080c563dffcb549 |
|
BLAKE2b-256 | 8ca716746475b99d770e9a50ff5693934e578f87fe3f46451f29c6e22da8f737 |