subscribe-bot/scrape/nominated.go

17 lines
323 B
Go
Raw Normal View History

package scrape
2020-10-15 17:37:21 +00:00
import (
"subscribe-bot/osuapi"
)
func (s *Scraper) scrapeNominatedMaps() {
2020-10-15 17:37:21 +00:00
events, _ := s.api.GetBeatmapsetEvents(&osuapi.GetBeatmapsetEventsOptions{
Types: []string{"nominate", "qualify"},
})
2020-10-15 17:37:21 +00:00
for _, event := range events {
2021-07-19 19:14:09 +00:00
(func(_ osuapi.BeatmapsetEvent) {})(event)
// fmt.Println(event)
2020-10-15 17:37:21 +00:00
}
}