A basic steam web api in php, uses xml and json datatypes