Shopware
Ruby API client and CLI for Shopware
Warning
Although potentially exciting, this is still really a WIP, use at your own risk.
Installation
-
Add shopware to your Gemfile:
gem 'shopware', github: 'bitaculous/shopware'
-
Run
bundle install
Usage
-
Create a
.shopware
config file:api: username: "api" key: "foobar" uri: "http://your-awesome-shop.com/api"
-
Run
shopware --help
orshopware help <COMMAND>
Articles
List articles
$ shopware articles list
Show article
$ shopware articles show <ID>
Delete article
$ shopware articles delete <ID>
Categories
List categories
$ shopware categories list
Show category
$ shopware categories show <ID>
Delete category
$ shopware categories delete <ID>
Property groups
List property groups
$ shopware property_groups list
Show property group
$ shopware property_groups show <ID>
Delete property group
$ shopware property_groups delete <ID>
Variants
Show variant
$ shopware variants show <ID>
Delete variant
$ shopware variants delete <ID>
Client
See client.rb.
Development
Specs
Use the rspec
command to run the specs:
$ rspec
or via Guard:
$ guard -g spec
Bug Reports
Github Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues and submit new problems here.
Versioning
This library aims to adhere to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, that version should be immediately yanked and / or a new version should be immediately released that restores compatibility.
License
Shopware is released under the MIT License (MIT), see LICENSE.