Skip to main content

Python ServiceNow API Wrapper

Project description

ServiceNow API

Version: 0.9.0

ServiceNow API Python Wrapper

This repository is actively maintained and will continue adding more API calls

API Calls:

  • Table
  • CI/CD
  • Import Sets

Coming Soon:

  • Incident
  • CMDB
  • Application Service

Usage:

#!/usr/bin/python
# coding: utf-8
import servicenow_api

username = "<SERVICENOW USERNAME>"
password = "<SERVICENOW PASSWORD>"
servicenow_api_url = "<SERVICENOW_URL>"
client = servicenow_api.Api(url=servicenow_api_url, username=username, password=password)

table = client.get_table(table="<TABLE NAME>")
print(f"Table: {table}")

Install Instructions

Install Python Package

python -m pip install servicenow-api

Build Instructions

Build Python Package

sudo chmod +x ./*.py
pip install .
python setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

servicenow_api-0.9.0-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file servicenow_api-0.9.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for servicenow_api-0.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 36a6a9e9b55a024b8c8cbb7c0edb797bbe17c192afa8b53b560dcda051c80624
MD5 0300c2a4c24c994f2bbc3b6fe663213f
BLAKE2b-256 76cb16788288b3e511d9ebf0b67d4e1cd59966bc918931d1953e5f137a9ff712

See more details on using hashes here.

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