Jul
18

Getting Started with the Streaming API


Overview

In this article, I describe how to access the Open Data Access Streaming API for realtime events. The source code is pointing at the "Sandbox" tenant. However, once you have access to your own tenant you will just change the relavent URLs and security tokens (the tenant information provided during Hub install and generating a PubNub channel to receive your realtime events). This example is written in C#, but there are many other languages supporting PubNub.



Jul
14

Getting Started with the REST API


Overview

In this article, I describe how to access two of the Open Data Access REST APIs. The source code is pointing at the "Sandbox" tenant. However, once you have access to your own tenant you will just change the relavent URLs and security tokens (the tenant id and app id, which can be seen on screen in each sample). This example is written in JavaScript, but of course any language supporting HTTP requests can consume data from the REST APIs.



Jul
11

Generating API Key


Developers who intend to integrate their app to Plantronics Open Data Access APIs have to get assigned API keys for accessing different products APIs. The Plantronics developer portal allows developers to register themselves. API keys allow applications to be authorized by the Plantronics Cloud Platform themselves to specific products they are interested in integrating with.   
  1. After creating your account, you will receive a validation email that will grant you permission to creating your API keys.
  2. Sign in to your account to add a new key.


Jul
10

Identifying the Tenant API Code and Regional API Host URLs


The Tenant API Code is the unique identifier that will allow you to request access to the correct tenant.

Depending on your goals, you may begin by working with the Sandbox Tenant (with Tenant API Code embedded) as you experiment with our APIs to see how sample data works with your code. If you are working with a specific customer (or developing for internal use) and would like to connect to real customer data from Plantronics Manager Pro, you will need to request and receive authentication to use this identifier.
 

Sandbox Tenant API Code



Jul
07

Registering your App


A partner developer intending to test their app’s integration with PM Pro’s Open data access APIs  or demo it to a customer in production, needs to work through a sequence of API workflow steps to get the app  authorized by a PM Pro admin. This is a one time sequence for each app and for each tenant that the app is integrating with:

STEPS:



Jun
06

HubRESTSample – a new C++ REST API Sample for PDC


This new sample code illustrates seamless consumption of Plantronics out-of-proc REST API from C++ code!

Location of full sample code: https://github.com/pltdev/pdc/tree/master/C%2B%2B%20REST%20Sample
 

Key Benefits

  1. Supports Plantronics Manager Pro configuration
    • Works with Plantronics Hub via “out-of-proc” REST API
  2. Supports multi-softphone & multi-device configurations


Apr
27

Advanced SDK Topic: Ensuring Resilience with Plantronics COM API


Author: Lewis Collins, Plantronics

When using the Plantronics COM API how do you ensure the connection to the Plantronics Hub software is working?
  • What if the user accidentally shuts down Plantronics Hub (or it crashes), or user upgrades it which would also result in it shutting down and starting again. Would your software re-connect to the COM API automatically?
  • What if Plantronics Hub is not installed, will your software still attempt to connect to it, resulting in long COM timeout? (Will this timeout impact your applications performance)?