API implementation with source code