Sha256: e14cb116729953178fda0c80a8f05e2df756517e778e6befec4669563d2bcc1e

Contents?: true

Size: 925 Bytes

Versions: 2

Compression:

Stored size: 925 Bytes

Contents

A Ruby library for the "Mashery API":http://support.mashery.com/docs/mashery_api.

h2. Prerequisites

Install the gem dependencies (see "gembundler.com":http://gembundler.com/ if you aren't familiar with Bundler):

@$ bundle install@

h2. Calling methods from the command line

A set of Thor tasks are provided so that you can call API methods from the command line (read more about Thor at
"http://github.com/wycats/thor":http://github.com/wycats/thor).

The following examples assume you have Thor installed system-wide. If it's local to your bundle, then replace
@thor@ with @bundle exec thor@.

You can see all available Mashery tasks with this command:

@$ thor list mashery@

h3. Environment

Before you can successfully call an API method, you must set these environment variables:

bc. $ export MASHERY_SITE_ID=666
$ export MASHERY_API_KEY=cafebebedeadbeefcafebebedeadbeef
$ export MASHERY_SHARED_SECRET=blahblahblah

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mashery-0.0.10 README.textile
mashery-0.0.9 README.textile