Skip to content

Update download-counts.md to correct the endpoint examples #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/download-counts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ during the summer, because the US observes daylight savings but UTC is fixed.

Gets the total downloads for a given period, for all packages or a specific package.

<code>GET https://api.npmjs.org/downloads/point/{period}[/{package}]</code>
<code>GET https://api.npmjs.org/downloads/point/{period}/{package}</code>

### Examples

Expand Down Expand Up @@ -74,7 +74,7 @@ If you have not specified a package, that key will not be present. The start and

Gets the downloads per day for a given period, for all packages or a specific package.

<code>GET https://api.npmjs.org/downloads/range/{period}[/{package}]</code>
<code>GET https://api.npmjs.org/downloads/range/{period}/{package}</code>

### Examples

Expand Down