Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Waka time card broken range parameter broken #2698

Closed
Labels
bugSomething isn't working.wakatime-cardIssues related to the wakatime card.
@rickstaa

Description

@rickstaa

Describe the bug

It looks like therange parameter of the WakaTime card is no longer working due to some upstream changes.#2670 fixed the card for theall_time range. For the other ranges, however, the 403 "Forbidden" error is thrown. The strange thing is that this error is not thrown when I directly try the generated WakaTime API link in the browser, but it only happens when I request it through Axios. This is strange as according to the documentation this should work.

const{ data}=awaitaxios.get(
`https://${
api_domain ?api_domain.replace(/\/$/gi,"") :"wakatime.com"
}/api/v1/users/${username}/stats/${
range||"all_time"
}?is_including_today=true`,
);

Regular card

willianrod's wakatime stats

[![willianrod's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=Harlok&layout=compact)](https://github.com/anuraghazra/github-readme-stats)

*All time

willianrod's wakatime stats

[![willianrod's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=Harlok&layout=compact&range=all_time)](https://github.com/anuraghazra/github-readme-stats)

Last 7 days

willianrod's wakatime stats

[![willianrod's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=Harlok&layout=compact&range=last_7_days)](https://github.com/anuraghazra/github-readme-stats)

Last 30 days

willianrod's wakatime stats

[![willianrod's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=Harlok&layout=compact&range=last_30_days)](https://github.com/anuraghazra/github-readme-stats)

Expected behaviour

Should work according to the documentation

Screenshots / Live demo link

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.wakatime-cardIssues related to the wakatime card.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp