Skip to main content

ServiceNow's Table API, easily.

Project description

ServiceNowPy

A library that helps you to get data from ServiceNow's Table API.

Installation

$ pip install servicenowpy

Simple usage

How to retrieve data from incident table with this lib:

>>> from servicenowpy import ServiceNow
>>> snow = ServiceNow('dev01010', 'admin', 'password')
>>> inc_table = snow.get_table('incident', sysparm_fields='number,short_description')
>>> for record in inc_table.records:
...     print(record)
{'number': 'INC0000060', 'short_description': 'Unable to connect to email'}
{'number': 'INC0000009', 'short_description': 'Reset my password'}
{'number': 'INC0009005', 'short_description': 'Need access to the common drive'}

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

servicenowpy-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

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