Lumen help

Sample API code

Below are sample pieces of code in popular programming languages for use with Media portal APIs.

 

Lumen provides the following types of code samples for each language:

  • APICommunicator—a Helper Class created to simplify communication with Media portal APIs. Supports making GET and POST calls.

  • apiSampleCode—example code that utilizes the class defined in the APICommunicator[Language] file to make a GET and POST call to a Media portal API.

Java

PHP

Python

Ruby

C Sharp (.NET)