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'}
Release files for servicenowpy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| servicenowpy-0.1.0.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| servicenowpy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / servicenowpy-0.1.0.tar.gz
| Download URL | servicenowpy-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f5d5abfc37c5602323d7c519bf6542a0634a5d164126b91ba6700fad841b407
|
|
BLAKE2b-256 checksum How to use checksums |
81b568e5fa13f435d6e38c68d0cf52d51ea2fba8b65f56096e05538bc9229902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / servicenowpy-0.1.0-py3-none-any.whl
| Download URL | servicenowpy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80cba208f66567ad54091618b4c9f1a5db86130746e9b4ec6be53f10ffe52e14
|
|
BLAKE2b-256 checksum How to use checksums |
7a5d665725f24700f12f364d292246fcaa919db0f86dc9d96fd85ff77df9bb96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|