0

Is there a drupal.org API for retrieving the list of available modules, a description of them and available versions?

1
  • Call modules to projects is a common mistake. Projects are compound of modules (or themes, or install profiles,...).
    – jonhattan
    Commented Jun 29, 2014 at 9:28

4 Answers 4

2

Very recently there's an API published: https://www.drupal.org/api

1

There is no such API or mechanism at this time.

There is talk about extending Drush to support a Search functionality: https://drupal.org/node/1389460

But that's after a database of dependencies is created for all modules and stored in a binary-ish form fetchable by Drush: https://drupal.org/node/1299332

2
  • 1
    Can't help but mention that I made a really simple drush search extension: drupal.org/sandbox/Letharion/1833420
    – Letharion
    Commented Mar 20, 2014 at 15:46
  • changed the answer to the one just submitted by pcambra as it the up to date one now..
    – vfclists
    Commented Jan 21, 2015 at 8:03
1

Turns out there is a big machine-readable list of Drupal projects available here:

http://updates.drupal.org/release-history/project-list/all

Warning: Very large. :-)

Courtesy of this comment, which also tells you a URL pattern to crawl for release information: https://groups.drupal.org/node/65023#comment-204808

I wish there were good documentation about the availability of other such easter eggs.

1

There's an issue to Expose list of projects to external services (via JSON, XML, etc). That issue ended up providing a tsv file with a list of all stable releases (no -dev) for all projects in drupal.org. The list is generated each 4 hours, after http://updates.drupal.org/release-history/project-list/all is regenerated.

https://drupal.org/files/releases.tsv (~4MB)

The rationale for this file is in comment #88 if the linked issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.