Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

R Downloads API

Package download statistics

R Downloads API is one of 5 APIs that R publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Downloads. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://crandb.r-pkg.org.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://crandb.r-pkg.org
Contact
License
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Downloads 2

Package download statistics

GET
/downloads/total/{period}/{packages}
Get Package Download Totals
getPackageDownloadTotals 2 params → 200
GET
/downloads/daily/{period}/{packages}
Get Package Daily Downloads
getPackageDownloadDaily 2 params → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are DownloadDaily (4 properties), DownloadTotal (4 properties), DailyCount (2 properties). Each schema is shown below with its type and property counts.

DownloadTotal
object
4 properties
DailyCount
object
2 properties
DownloadDaily
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

r-downloads-api-openapi.yml Raw ↑

Other APIs R publishes across the network.

R Badges API
R Packages API
R Top Packages API
R Versions API