Socket
Book a DemoInstallSign in
Socket

magento_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magento_client

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

MagentoClient

A Ruby interface to Magento's REST API

The main feature is automatic OAuth handshake with Magento - the OAuth access token is automatically fetched, so automated scripts can use Magento's REST API without needing any manual steps

Usage

magento = MagentoClient.new({
	:url => 'http://my_magento_store.com',
	:key => 'OAuth Consumer Key',
	:secret => 'OAuth Consumer Secret',
	:username => 'Magento Admin username',
	:password => 'Magento Admin password',
})

products = magento.get('/api/rest/products')

puts "Fetched #{products.count} products"

FAQs

Package last updated on 01 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.