0

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

  • Call modules to projects is a common mistake. Projects are compound of modules (or themes, or install profiles,...). – jonhattan Jun 29 '14 at 9:28
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

  • 1
    Can't help but mention that I made a really simple drush search extension: drupal.org/sandbox/Letharion/1833420 – Letharion Mar 20 '14 at 15:46
  • changed the answer to the one just submitted by pcambra as it the up to date one now.. – vfclists Jan 21 '15 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, privacy policy and cookie policy

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