Download the PHP package eduvo/php-api-library without Composer
On this page you can find all versions of the php package eduvo/php-api-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eduvo/php-api-library
More information about eduvo/php-api-library
Files in eduvo/php-api-library
Package php-api-library
Short Description Client library for the ManageBac v2 API
License MIT
Homepage https://github.com/eduvo/PHP-API-Library
Informations about the package php-api-library
ManageBac API PHP Client Library
Documentation https://dev.faria.co/mb/
Installation
Requires PHP 5.6.
Using Composer:
or
Usage
After installing with composer, make sure to include the following line at the top of your php file.
Client
Before using the API library, you need to create a new Client using your API Token.
Examples
Here are some examples of how to use the various endpoints in the library.
IB Groups
Fetch all IB Groups and display the group names
Fetch and display advisors for an IB Group
Fetch and display students for an IB Group
Add students to an IB Group
Remove students from an IB Group
Classes Groups
Fetch all Classes and display the group names
Fetch and display the name of a single class.
Fetch and display students for a class.
Add students to a class.
Remove students from a class.
Parents Group
Fetch and display the email addresses of all parents.
Fetch and display the email address for a single parent.
Create a new parent record.
Update a parent record.
Archive a parent.
Unarchive a parent.
Students Group
Fetch and display the email addresses of all students.
Fetch and display the email address for a single student.
Create a new student record.
Update a student record.
Archive a student.
Unarchive a student.
Teachers Group
Fetch and display the email addresses of all teachers.
Fetch and display the email address for a single student.
Create a new teacher record.
Update a teacher record.