Skip to content

Data Insights - Data Pipeline API Publisher - Swagger Client for Python

Notifications You must be signed in to change notification settings

StrongMind/pipeline-publisher-python

Repository files navigation

pipeline_publisher_python

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This Python package is automatically generated by the Swagger Codegen project:

  • API version: v1.0.2
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import pipeline_publisher_python 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pipeline_publisher_python

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import pipeline_publisher_python
from pipeline_publisher_python.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: basic
pipeline_publisher_python.configuration.username = 'YOUR_USERNAME'
pipeline_publisher_python.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = pipeline_publisher_python.MessagesApi()
message = pipeline_publisher_python.Message() # Message | Note: At least one key/value pair for identifiers field is required.

try:
    # Creates a message on the pipeline
    api_instance.messages_post(message)
except ApiException as e:
    print("Exception when calling MessagesApi->messages_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
MessagesApi messages_post POST /messages Creates a message on the pipeline
StreamMetricsApi stream_metrics_get GET /stream_metrics Fetches metrics about the stream

Documentation For Models

Documentation For Authorization

basic

  • Type: HTTP basic authentication

Author

About

Data Insights - Data Pipeline API Publisher - Swagger Client for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published