subscribe-bot/scrape/nominated.go

17 lines
282 B
Go
Raw Normal View History

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