Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

gregistech/gokreta

Repository files navigation

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