get
Retrieves a monthly activities summary for the given month and year.
Use this to populate a calendar (per-day counts/badges) and a monthly header with totals.
Return
AFActivitiesSummary with a monthly overview and the list of activities in that month.
Parameters
month
Month number (1–12)
year
Full year (e.g., 2025)
Throws
on network or parsing errors.
Android (Kotlin) — calendar month load
// Member has completed all goals; we're showing their streak calendar.
val summary = AFCore.activities.get(month = 8, year = 2025)
calendar.render(summary) // badge per day from summary.activities
header.render(summary.monthlySummary) // totals/progress ringContent copied to clipboard
iOS (Swift) — calendar month load
// Member achieved monthly goals; show celebratory badges across the month.
let summary = try await AFCore.shared.activities.get(month: 8, year: 2025)
CalendarView.render(summary) // per-day items
HeaderView.render(summary.monthlySummary) // totalsContent copied to clipboard