Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

How to get username and password #7

@sks1990

Description

@sks1990

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions