{"id":22753183,"url":"https://github.com/nebulab/solidus_client","last_synced_at":"2025-06-25T13:06:08.988Z","repository":{"id":56896412,"uuid":"229925933","full_name":"nebulab/solidus_client","owner":"nebulab","description":"Solidus eCommerce API Ruby client","archived":false,"fork":false,"pushed_at":"2020-01-15T10:18:55.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-14T17:05:45.093Z","etag":null,"topics":["ecommerce","ruby","solidus"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nebulab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-24T11:01:53.000Z","updated_at":"2025-01-11T08:53:24.000Z","dependencies_parsed_at":"2022-08-21T00:50:55.923Z","dependency_job_id":null,"html_url":"https://github.com/nebulab/solidus_client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nebulab/solidus_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebulab%2Fsolidus_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebulab%2Fsolidus_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebulab%2Fsolidus_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebulab%2Fsolidus_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nebulab","download_url":"https://codeload.github.com/nebulab/solidus_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebulab%2Fsolidus_client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260804311,"owners_count":23065529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecommerce","ruby","solidus"],"created_at":"2024-12-11T06:09:28.336Z","updated_at":"2025-06-25T13:06:08.967Z","avatar_url":"https://github.com/nebulab.png","language":"Ruby","readme":"# Ruby Solidus API client\n\n## Requirements\n* [MRI 2.3+](https://www.ruby-lang.org/en/downloads)\n* [Solidus 2.9+](https://solidus.io) with [Solidus Auth (Devise)](https://github.com/solidusio/solidus_auth_devise)\n\n## Installation\n\n```\ngem install solidus_client\n```\n\n## Usage\n\n### Client class\n\nUse `SolidusClient:Client` class\n```ruby\nrequire 'solidus_client/client'\n\nclient = SolidusClient::Client.new(url: 'app url', api_key: 'user api key')\n\nitem_data_hash = { ... }\nresponse_hash = client.add_item(order_number, item_data_hash)\n```\n\n### Command line\nRun `solidus` command\n\n```\n$ solidus -h\n\nUsage: solidus [options] command [target] [JSON data]\n\nCommands:\n - add_item \u003corder_number\u003e \u003cdata\u003e\n - ..\n\nOptions:\n    -u, --url   Solidus URL\n    -k, --key   Solidus API key\n    -t, --token Solidus guest token\n```\n\n## Development\nInstall dependencies\n```\nbundle install\n```\n\nExport required environment Variables\n```\nexport SOLIDUS_API_KEY=your API key\nexport SOLIDUS_URL=Solidus endpoint\n```\n\nRun specs\n**WARNING:** `checkout_spec.rb` requires a running Solidus instance and writes Product and Order data to it\n```\nbundle exec rake spec\n```\n\n## License\n\nCopyright © 2019 [Nebulab](https://nebulab.it/).\nIt is free software, and may be redistributed under the terms specified in the [license](LICENSE.txt).\n\n## About\n\n![Nebulab](http://nebulab.it/assets/images/public/logo.svg)\n\nSolidus API Client is funded and maintained by the [Nebulab](http://nebulab.it/) team.\n\nWe firmly believe in the power of open-source. [Contact us](https://nebulab.it/contact-us/) if you like our work and you need help with your project design or development.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebulab%2Fsolidus_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnebulab%2Fsolidus_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebulab%2Fsolidus_client/lists"}