This might sound silly since I'm a newbie but what would be the best way to call the API from a php script ?