Skip to main content

Python library for the ServiceNow REST API

Project description

 ______   __  __    ______    __   __    ______    __     __
/\  == \ /\ \_\ \  /\  ___\  /\ "-.\ \  /\  __ \  /\ \  _ \ \
\ \  _-/ \ \____ \ \ \___  \ \ \ \-.  \ \ \ \/\ \ \ \ \/ ".\ \
 \ \_\    \/\_____\ \/\_____\ \ \_\\"\_\ \ \_____\ \ \__/".~\_\
  \/_/     \/_____/  \/_____/  \/_/ \/_/  \/_____/  \/_/   \/_/
                - a Python library for the ServiceNow REST API
https://travis-ci.org/rbw0/pysnow.svg?branch=master https://coveralls.io/repos/github/rbw0/pysnow/badge.svg?branch=master https://badge.fury.io/py/pysnow.svg https://img.shields.io/badge/License-MIT-green.svg

News

Version 0.7 released

This release comes with a new attachment helper, available in table-type Resources. Go here for its API documentation, or check out an example.

Also, the Response interface has been further improved and now allows chaining. Example:

incidents = c.resource(api_path='/table/incident')
incident = incidents.get(query={'number': 'INC01234'})
print('uploading last words to incident: {0}'.format(incident['sys_id']))
incident.upload(file_path='/tmp/last_words.txt')
incident.update({'description': 'Bye bye'})
incident.delete()

Additionally, generator / streamed responses are now default off, but can be easily enabled by passing stream=True to Resource.get for those memory-intensive queries.

Documentation

The documentation is divided into four sections:

Other projects using pysnow

  • flask-snow - Adds ServiceNow support to Flask

  • django-snow - ServiceNow Ticket Management App for Django based projects

  • pysnow-shovel - Script for easy peasy pushing data into ServiceNow

Author

Robert Wikman <rbw@vault13.org>

Contributors

lingfish, jcpunk, AMMullan, amontalban, ryancurrah, jdugan1024, punkrokk

JetBrains

Thank you Jetbrains for creating pycharm and providing me with free licenses

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysnow-0.7.3.tar.gz (18.9 kB view hashes)

Uploaded Source

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