Skip to content

Only fetch last year from github-contributions-api? #2

Description

@grubersjoe

Hey,

just stumbled over this project, cool stuff! I'm maintaining the API that is used for contribution data (github-contributions-api) and saw that you request all data per default (default behavior):

https://github.com/dashfy/dashfy-ext-github/blob/main/src/client.ts#L327

Looking at the screenshots, it seems like you only need the last year of data exactly how it is displayed on GitHub? In this case you could add the ?y=last query parameter to only fetch that data. This would also improve loading times quite a lot for profiles with many years of activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions