Skip to main content

Pysnow extension for Flask

Project description


Adds ServiceNow support to Flask.


Simplicity and responsiveness are two key ingredients to a successful UX, I believe the ServiceNow UI lacks both.

What can be done differently with flask-snow?

It lets you create a fully customizable Flask-powered platform on top of the ServiceNow REST API in a simple and seamless way with the help of the pysnow library.

Some usage examples:

  • Create your own software stack that integrates with ServiceNow.

  • Add ServiceNow support to your current Flask project.

  • Create a micro-service API relay, and perhaps use with a project written in another language.


The documentation can be found here


$ pip install flask-snow


Minimal example.

Reads the config, sets up the snow extension and creates a route accessed at /incidents which returns a list of incidents.

from flask import Flask, request, jsonify
from flask_snow import Snow

app = Flask(__name__)

snow = Snow(app)

def incident_list():
    limit = request.args.get('limit') or 10

    r = snow.resource(api_path='/table/incident')
    data = r.get(query={}, limit=limit).all()

    # Return a list of incidents
    return jsonify(list(data))

if __name__ == '__main__':

Name it and run with python

Check out the examples directory for more examples!


  • Python 2 and 3

  • Flask > 0.9


Created by Robert Wikman <> in 2018


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

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

flask-snow-0.2.2.tar.gz (4.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page