[api bin] Initial API and example completed.