You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
Hi Every one!
How to get the confidential(username,password and url) detail for this code.
require_once 'vendor/autoload.php'; // composer autoloader
try {
$student = PowerAPI\PowerAPI::authenticate("https://powerschool.example/", "username", "password");
} catch (PowerAPI\Exceptions\Authentication $e) {
die('Something went wrong! '.$e->getMessage());
}
foreach ($student->sections as $section) {
echo $section->name."\n";
}
Please help me.
Thanks.