PHP class to interface with nike api