psapi

package module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

powerschool-api

Go package for PowerSchool API access.


Install

Install with go get github.com/ledfree/powerschool-api


Index

type ApiConfig

type ApiConfig
type ApiConfig struct {
  Access_Token string `json:"access_token"`
  Token_Type   string `json:"token_type"`
  Expires_In   string `json:"expires_in"`
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	PsUrl        string
	ClientId     string
	ClientSecret string
}

func (ApiConfig) GetAccessToken

func (a ApiConfig) GetAccessToken() (status int, token string, err error)

func (ApiConfig) GetTest added in v0.0.5

func (a ApiConfig) GetTest() (status int, err error)

func (ApiConfig) TimeCheck added in v0.0.2

func (a ApiConfig) TimeCheck() (status int, t string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL