API

From Bv
Jump to: navigation, search

Contents

[edit] babblevoice API

babblevoice labs.

The API is intended for developers who wish to develop client applications to extend the core functionality of babblevoice.

The API feed is all delivered through a REST methodology found at https://www.babblevoice.com/api. Authentication is all done through OAuth and results are returned as JSON, with XML results in the pipeline.

[edit] OAuth

OAuth is the only method for getting authorized access to a user's babblevoice data. OAuth is an open standard for authorizing the use of data on the web. OAuth is very popular in web services and is driven by large providers such as Google and Facebook. It is considered a very secure method of authenticating against a service.

babblevoice has the following methods to work with tokens:

  • https://www.babblevoice.com/OAuthGetRequestToken
  • https://www.babblevoice.com/OAuthAuthorizeToken
  • https://www.babblevoice.com/OAuthGetAccessToken


To access the service you will require a developer key and secret. To obtain your own developer key and secret please contact your babblevoice representative who will arrange it for you.

[edit] JSON

The default output from our API is JSON. Widely supported is especially suited to web development and Gadget development with Javascript. We know users using libraries such as C==, C# and Delphi.

It uses the Google slightly modified Date objected. Documentation can be found at google.

[edit] API

The API is broken down into the following areas

Each area is appended to the api url, for example, the CDR API has the URL https://www.babblevoice.com/api/cdr. Each API may have its own further sub queries.

We have created a python script which uses our API system to pull data from the server and output it in a .csv file. this is useful for processing invoices, examining call records or just viewing the API results in a more usable way.

Personal tools
Namespaces

Variants
Actions
User Help
Admin Help
Developer Help
Everything Else
Toolbox