Skip to main content

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.

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. 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)

Source distribution for soapsnow 0.1.3
File Size Uploaded Provenance Actions
soapsnow-0.1.3.tar.gz 2.6 kB Without provenance Details for soapsnow-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for soapsnow 0.1.3
File Interpreter ABI Platform Actions
soapsnow-0.1.3-py3-none-any.whl Python 3 none any Details for soapsnow-0.1.3-py3-none-any.whl

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

Security for soapsnow 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page