Hi!

Thank you for offering a Drupal.org API! Great stuff!

I can see downloads count for projects here :
https://www.drupal.org/api-d7/node.json?type=project_module

Is it also possible to expose reported installs through API?

I'm developing a site that shows graphs and data visualisations of Drupal projects. It would be great to show reported installs as part of the data. I can of course crawl the HTML pages if necessary, but I would prefer to use the API.

Please tell me if I can help with the API in any way!

Comments

jiv_e created an issue. See original summary.

jiv_e’s picture

Issue summary: View changes
drumm’s picture

Status: Active » Postponed
Related issues: +#2497979: Expose usage as field

Drupal.org’s API is powered by the RestWS module, which gathers data via the Entity API module. Usage statistics are a submodule of the Project module. To bridge the gap, Project needs to provide data via the entity API.

#2497979: Expose usage as field is a possible approach. That would expose the current totals for each project node. The same could be done for totals on each release node.

If historical data is needed, that might be something like a new entity type around the tables Project maintains.