/gokreta

Go implementation of the KRÉTA API.

Primary LanguageGoMIT LicenseMIT

gokreta

Languages/Nyelvek

The package's goal

A simple abstraction to the KRÉTA API.

Example

package main

import (
	"fmt"
	"github.com/thegergo02/gokreta"
)

func main() {
	instituteCode := "<instituteCode>"
	userName := "<userName>"
	password := "<password>"
	user, err := gokreta.NewUser(instituteCode,
		userName,
		password,
	)
	student, err := user.GetStudentDetails()
	if err != nil {
		panic(err)
	}
	fmt.Println(student.Name)
}

Supporters

Name Act
thegergo02 Maintainer
boapps API documentation