Example of API implementation on iOS Application Programming