This project is deprecated because Xedule has decided to close down it's API
Convert any schedule from roosters.xedule.nl to an array
Note: the paremeters named below must be entered in the given order
- constructor
- getAllOrgs
- getOrgID
- getAllLocations
- getLocationID
- getAllGroups
- getGroupID
- getGroupSchedule
The constructor can have a non required parameter with the base URL. Standard the base URL is https://roosters.xedule.nl
Get all the organisations
Needs parameter $orgName Get the ID from the organisation with the given name
Needs parameter $orgId Get all the locations for the organisation with the given ID
Needs parameters $locationName, $orgId Get the ID from the location with the given name
Needs parameter $locationID Get all groups from the location with the given ID
Needs parameters $groupName, $locationID Get the ID from the group with the given Name
Needs parameters $groupId, $week, $year Get any schedule in the following format:
array(
array(
'DESCRIPTION' => 'some class'
'START' => Carbon Object,
'END' => Carbon Object
),
array(
'DESCRIPTION' => 'some class'
'START' => Carbon Object,
'END' => Carbon Object
)
)