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.
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.