ServiceNow 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 records from incident table with this lib:
>>> from servicenowpy import Client
>>> sn_client = Client('<instance>.service-now.com', '<user>', '<pwd>')
>>> inc_table = sn_client.table('incident')
>>> records = inc_table.get(sysparm_fields='number,short_description')
>>> for record in 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
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
servicenowpy-0.1.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for servicenowpy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80cba208f66567ad54091618b4c9f1a5db86130746e9b4ec6be53f10ffe52e14 |
|
MD5 | 35605afd5ca6e9aecafa34d329a26ad9 |
|
BLAKE2b-256 | 7a5d665725f24700f12f364d292246fcaa919db0f86dc9d96fd85ff77df9bb96 |