# Shopify/shopify-api-ruby

ShopifyAPI is a lightweight gem for accessing the Shopify admin REST and GraphQL web services.

Repository: https://github.com/Shopify/shopify-api-ruby
Canonical: https://ross.abutalabs.com/products/shopify-api-ruby
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-04T18:33:24+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 6291, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1105, forks 484 (observed 2026-08-28T04:03:36.418543+00:00)

## What it is
ShopifyAPI is a lightweight Ruby gem for accessing the Shopify Admin REST and GraphQL APIs, including OAuth token creation and webhook registration/processing. It also supports querying the Shopify Storefront API and works with any Ruby backend framework.

## Use cases
- access shopify admin api from ruby
- perform oauth for a shopify app
- make graphql queries to shopify
- register and process shopify webhooks
- query the shopify storefront api
- build a shopify app with a ruby backend

## When to choose
- you are building a Shopify app with a Ruby backend such as Rails or Sinatra
- you need OAuth token management, REST/GraphQL access, and webhooks in one gem
- you want an official, MIT-licensed client maintained by Shopify

## When to avoid
- you use Rails and want batteries-included auth and session handling - prefer the shopify_app gem instead
- you are not working with the Shopify platform
- you need a non-Ruby language client

## Facets
- artifact type: library
- maturity: active
- function: http-client, auth, graphql, webhook, sdk
- domain: e-commerce, apis, web-development, backend
- platform: ruby, jvm
- tags: shopify, admin-api, storefront-api, oauth, rest-client, graphql-client, webhooks, gem

## Member repositories
- Shopify/shopify-api-ruby (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.418543+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:44:20.975854+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/shopify-api-ruby (fetched 2026-08-28T04:03:36.418543+00:00, sha de1b779729c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
