steve9001 / shopify_api

Unofficial API client for Shopify.com using ActiveResource

This URL has Read+Write access

steve9001 (author)
Fri May 29 13:06:21 -0700 2009
commit  4435564a812b2033887a48eeee023174e3bf6a98
tree    091e9cd52f3049957e7deefce289c74cfe9a4c3b
parent  c44c312e4b2175db65519b145843e443021857cf
name age message
file .gitignore Loading commit data...
file README
file Rakefile
directory lib/
directory spec/
README
Library for accessing the Shopify API via ActiveResource
adapted from shopify_app rails plugin at http://github.com/Shopify/shopify_app/tree/master

Installation
============
Use 'rake package' to build the gem, and 'gem install pkg/shopify-api-0.0.1.gem' to install.

Usage
=====

require 'shopify-api'

#api_key, secret are from the API app registered with Shopify
#url, token are from the authentication for a specific shop

ShopifyAPI.setup(api_key, secret, url, token)

#access the shop
ShopifyAPI::Product.find(:all, :params => {:limit => 3})