go get github.com/er-azh/go-animeschedule
package main
import (
"fmt"
"github.com/er-azh/go-animeschedule"
)
func main() {
timetable, err := animeschedule.GetCurrentTimetable(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(timetable)
}
// GetCurrentTimetable gets the current timetable or the timetable in a specific week
// when timetableTime is specified it tries to get that week's timetable.
// timezone can be set to return times in a different time zone.
func GetCurrentTimetable(timetableTime *TimetableTime,timezone *time.Location) (*Timetable, error)
// GetShow gets a show by its slug
func GetShow(slug string) (*ShowDetail, error)