A library interface for iseplive.fr, a student website. Warning: Still in development !
go get github.com/aabizri/goil
Documentation for the master branch is on godoc (https://godoc.org/github.com/aabizri/goil) !
Start a session
import "net/http"
session,err := goil.Login(USERNAME,PASSWORD, &http.Client{})
Get the list of all students alors with their data
studentList,err := session.GetStudentList()
Export it in csv format through whatever io.writer you prefer, here with os.Stdout
err = studentList.WriteCSV(os.Stdout)
Publish something
publication := CreatePublication("Hello World", goil.Divers)
err := session.PostPublication(post)
Delete a publication
err := session.DeletePublication(1750)