This is an example API consumer written in PHP