short example about how to use the API client in PHP