pub.dev package repository API vs RubyGems.org API
pub.dev package repository APIby GooglePaid fromNot statedAccessHTTP, CLIAgentsNot statedAPI QA score[SCORE]View API
RubyGems.org APIby Ruby CentralPaid fromNot statedAccessHTTP, CLIAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
11 different5 the same on both
The basics
What it ispub.dev package repository API: The officially supported API of pub.dev, the Dart and Flutter package repository: the Hosted Pub Repository Specification v2 plus package-name lists for completion and mirroringRubyGems.org API: Read gem metadata, versions and owners, and push or yank gems with a scoped API key
Accesspub.dev package repository API: HTTP, CLIRubyGems.org API: HTTP, CLI
Still on salepub.dev package repository API: YesRubyGems.org API: Yes
What they work on
Buying and paying
Agent gets a key alonepub.dev package repository API: Yesreads need no credentialRubyGems.org API: Yesreads need no credential; publishing needs an account token
First call without a keypub.dev package repository API: Yes'GET https://pub.dev/api/package-names' with no keyRubyGems.org API: Yesrubygems.org/api/v1/gems/rails.json answered with no key
Payment railspub.dev package repository API: nonefreeRubyGems.org API: nonenothing to pay
Payment protocolspub.dev package repository API: nonefreeRubyGems.org API: noneno agent payment protocol named on public pages
Subscription requiredpub.dev package repository API: NofreeRubyGems.org API: Nofree
Smallest purchase (USD)pub.dev package repository API: From $0freeRubyGems.org API: From $0free
Price published as datapub.dev package repository API: Noprices only in the HTML pageRubyGems.org API: Nono price list; free
Reading and signing up
Public pricespub.dev package repository API: Yesfree; no price anywhereRubyGems.org API: Yesno price; free service
Self-serve sign-uppub.dev package repository API: Yesno account needed to readRubyGems.org API: Yesaccount for publishing
Free usepub.dev package repository API: YesfreeRubyGems.org API: Yesfree
OpenAPIpub.dev package repository API: Nodescribed in prose and the Hosted Pub Repository SpecificationRubyGems.org API: Nonone found
Docs without loginpub.dev package repository API: Yespub.dev/help/api publicRubyGems.org API: Yesguides.rubygems.org
Jobs both do
Open a job to see every API that does it.

