Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

rpiambulance/person-v1

Repository files navigation

Build Status

forthebadge forthebadge

person-v1

person-v1 is an authoritative API for RPI Ambulance member data. Data is ingested from G Suite and our training application (well, not right now, but once that's built out) and provided to services that need it.

Usage

All requests must be accompanied by a query string: ?token=<token>.

  • /get/users
    Provides all members' full data

  • /get/user/<identifier>
    Provides data only for the member associated with that identifier. Per Google's documentation:

    The value can be the user's primary email address, alias email address, or unique user ID.

Configuration

A Google service account is used to query their APIs. Request the private key file in JSON format, and place it in /keys named as person-api.json.

Credits:

Developers:

License

person-v1 is provided under the MIT License.

Contact

For any question, comments, or concerns, email [email protected], create an issue, or open up a pull request.

Releases

No releases published

Packages

No packages published