Ruby API client and CLI for Shopware
Although potentially exciting, this is still really a WIP, use at your own risk.
-
Add shopware to your Gemfile:
gem 'shopware', github: 'bitaculous/shopware' -
Run
bundle install
-
Create a
.shopwareconfig file:api: username: "api" key: "foobar" uri: "http://your-awesome-shop.com/api"
-
Run
shopware --helporshopware help <COMMAND>
$ shopware articles list
$ shopware articles show <ID>
$ shopware articles delete <ID>
$ shopware categories list
$ shopware categories show <ID>
$ shopware categories delete <ID>
$ shopware property_groups list
$ shopware property_groups show <ID>
$ shopware property_groups delete <ID>
$ shopware variants show <ID>
$ shopware variants delete <ID>
See client.rb.
Use the rspec command to run the specs:
$ rspec
or via Guard:
$ guard -g spec
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.
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.
Shopware is released under the MIT License (MIT), see LICENSE.