soapsnow
Python client for interacting with the ServiceNow SOAP web service.
API Documentation
For information about the ServiceNow SOAP web service, see the Direct web services and API Functions documentation.
Install
pip install soapsnow
Usage
from soapsnow import SOAPSnow
user = 'user'
pwd = 'pwd'
inst = 'customer'
url = f'https://{inst}.service-now.com/incident.do?SOAP&displayvalue=true'
snow = SOAPSnow(user, pwd, url)
resp = snow.req(
method='getRecords',
number='INC000123'
)
print(resp.text)
resp = snow.req(
method='insert',
number='INC000123',
state='resolved',
work_notes='Test'
)
print(resp.text)
resp = snow.req(
method='getRecords',
assignment_group='my-group',
active=1,
__encoded_query='state!=6^short_descriptionLIKEHost is unreachable',
__limit=20
)
print(resp.text)
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for soapsnow 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| soapsnow-0.1.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| soapsnow-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / soapsnow-0.1.3.tar.gz
| Download URL | soapsnow-0.1.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3f3376ddbf13d7c18c2f4c7ca0b110c43438bbd6e4473efb348ed4275d3e6ee
|
|
BLAKE2b-256 checksum How to use checksums |
f5bf545be410a71d70fa8f5a0bb946ff2652ac23cee002a2c1a6514069059fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2
|
Release files / soapsnow-0.1.3-py3-none-any.whl
| Download URL | soapsnow-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aeec4edcc2a88d19777a7fc5e036a58b05dd275e8a5b421ea71e13426efee39
|
|
BLAKE2b-256 checksum How to use checksums |
7f0a21de65ff593b6558c167e81f4fc557827a7bb89eee7e76a2119eb35d7647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2
|