dawanda/google-content-api

Name: google-content-api

Owner: DaWanda Engineering Team

Description: null

Created: 2013-05-16 15:52:13.0

Updated: 2014-07-28 17:14:58.0

Pushed: 2014-07-28 17:15:04.0

Homepage: null

Size: 404

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Google Content API Gem Version

Gem for interacting with Google's Content API for Shopping.

Installation

Add this line to your application's Gemfile:

gem 'google-content-api', :require => "google_content_api"

And execute:

$ bundle

Or install it yourself as:

$ gem install google-content-api

And require 'google_content_api'

Example Usage
leContentApi::SubAccount.get_all
t all sub accounts for the user_id specified in conf/google_content_api.yml
te: _must_ be a multi-user google account id

leContentApi::SubAccount.create(title, adult_content, attributes)
eate a new subaccount with _title_.
e attributes to include 'description', 'link', 'internal_id',
eviews_url' or 'adwords_accounts'.

leContentApi::SubAccount.delete(sub_account_id)
letes a sub account.

leContentApi::Product.create_products(sub_account_id, products, dry_run)
eates products for sub_account_id using batch request. dry_run defaults to false (used for debugging)
Contributing
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.