Skip to main content

Python wrapper for Service-Now REST APIs

Project description

PyServiceNow

Distributing

Check any of the Release/* branches to find the needed version Check under dist for the .whl file

pip install *.whl

Making Wheel

python setup.py bdist_wheel --universal

Example Basic Call

from pyservicenow.core import UsernamePasswordCredential, ServiceNowClient
from pyservicenow.types.models.querybuilder import QueryBuilder

credential = UsernamePasswordCredential("", "")

client = ServiceNowClient(credential=credential, instance="instance")

query = QueryBuilder().field("serial_number").equals("92XWKW2")

Ticket = client.Now.table_api("alm_hardware").Request.sysparam_query(query).sysparam_limit(1).Get.invoke_request

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

pyservicenow-0.5.0.tar.gz (30.5 kB view hashes)

Uploaded Source

Built Distribution

pyservicenow-0.5.0-py3-none-any.whl (60.0 kB view hashes)

Uploaded Python 3

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