RubyGems Navigation menu
Guides

Get twice more info with API v2

Gem Version Methods

GET - /api/v2/rubygems/[GEM NAME]/versions/[VERSION NUMBER].(json|yaml)

Returns a dictionary with versions details for a specific gem version.

To return the version for a specific platform (e.g. “ruby”, “java”, “x86_64-linux”), use the platform query parameter.

$ curl https://rubygems.org/api/v2/rubygems/coulda/versions/0.7.1.json

{
  "authors":"Evan David Light",
  "built_at":"2011-08-08T04:00:00.000Z",
  "created_at":"2011-08-08T21:23:40.254Z",
  "description":"Behaviour Driven Development derived from Cucumber but as an internal DSL with methods for reuse",
  "downloads_count":2469,
  "metadata":{},
  "number":"0.7.1",
  "summary":"Test::Unit-based acceptance testing DSL",
  "platform":"ruby",
  "ruby_version":null,
  "prerelease":false,
  "licenses":null,
  "requirements":null,
  "sha":"777c3a7ed83e44198b0a624976ec99822eb6f4a44bf1513eafbc7c13997cd86c"
}