A simple abstraction to the KRÉTA API.
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)
}
Name | Act |
---|---|
thegergo02 | Maintainer |
boapps | API documentation |