Add php wrapper for api call - i think it works...