subscribe-bot/scrape/nominated.go
2021-07-19 14:14:09 -05:00

16 lines
323 B
Go

package scrape
import (
"subscribe-bot/osuapi"
)
func (s *Scraper) scrapeNominatedMaps() {
events, _ := s.api.GetBeatmapsetEvents(&osuapi.GetBeatmapsetEventsOptions{
Types: []string{"nominate", "qualify"},
})
for _, event := range events {
(func(_ osuapi.BeatmapsetEvent) {})(event)
// fmt.Println(event)
}
}