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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Gem for interacting with Google's Content API for Shopping.
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'
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)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)