PHP API for Gradenet