https://github.com/goffinet/gns3api
gns3api - Simple python module to access the GNS3 API
https://github.com/goffinet/gns3api
Last synced: 7 months ago
JSON representation
gns3api - Simple python module to access the GNS3 API
- Host: GitHub
- URL: https://github.com/goffinet/gns3api
- Owner: goffinet
- License: gpl-3.0
- Created: 2018-02-07T20:30:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-06T12:57:22.000Z (over 8 years ago)
- Last Synced: 2025-01-13T10:22:24.659Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gns3api - Simple python module to access the GNS3 API
This module provides an easy access to the GNS3 API, see http://api.gns3.net/ .
**Warning**: The module is not yet stable, it may change at any time.
Example:
- create an API object
api = gns3api.GNS3Api()
- access the API
data = api.request('POST', '/v2/version', {"version": "0.1"})
Restrictions:
- Notifications are not supported
Requirements:
- Python 2.7 or 3.x
- GNS3 2.x
`test_api` is a small program to test some basic API calls.
`get_console` is a simple application to get the console port of a node.