Creating API example.

Signed-off-by: Vasilis Vryniotis <bbriniotis@datumbox.com>