PHP API Samples