Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Sample API Scripts Overview

    The Network Director API software package includes sample Python API scripts with examples of API requests. To run the sample scripts, you must have the Python 3 programming language software installed on your server.

    The Python scripts are available at Network Director Restful API Reference.

    Table 1 lists the available sample API scripts:

    Table 1: Sample API Scripts

    Script Directory and Filename


    Provides a wrapper for Python httplib.HTTPConnection. Helps populate the HTTPHeader for each ND API service. The script also parses the REST response and populates the object model defined in the Model.

    Contains the ND API object model. The ND API object model files are created in Python and can be used on any Python script.

    Contains L2 service, L3 service, and Security service examples. These examples provide all of the steps you need to create these services using Python. This demo internally uses Model and HttplibHandler to facilitate ND API REST programming.

    Modified: 2016-12-18