• Get all the NewsPosts of a specific year!

    Parameters

    • this: API
    • Optionalyear: number

      The year the posts were made (defaults to current year)

    Returns Promise<NewsPost[]>

    If the specified year is invalid/has no news, it fallbacks to the default year