Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

naumen_service_desk_client-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file naumen_service_desk_client-1.0.0.tar.gz.

File metadata

File hashes

Hashes for naumen_service_desk_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b76ccf93e6a049bbfa4f7c4c36c062a29f5017cd08e4c18d9c1656d7afb8ed18
MD5 6978c660004ba4dbb080c563dffcb549
BLAKE2b-256 8ca716746475b99d770e9a50ff5693934e578f87fe3f46451f29c6e22da8f737

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