Magento
Ruby wrapper around the Magento Cart Api
Install / Use
/learn @timmatheson/MagentoREADME
== Magento ===================
This is a simple gem which wraps Magento XMLRPC calls with Ruby classes. This allows for you to integrate your Magento Shopping Cart into your Rails Application. This is not fully tested and some functionality is a WIP.
The full Magento Core Api is available at http://www.magentocommerce.com/support/magento_core_api
The current supported resources are:
Category Country Customer CustomerAddress CustomerGroups Inventory Invoice Order Product ProductImages ProductTypes Region Shipment
== Usage =====================
Edit config/config.yml and add your magento api username and api key to the file.
Get a single customer with an ID of 1
customer = Magento::Customer.find("1")
all attributes are available now as array indexes
customer['firstname'] => "Tim" customer['lastname'] => "Matheson"
and so on
== Issues ====================
A patch needs to be applied to XMLRPC for this to work. Without the patch you will most likely get this error. "wrong/unknown XML-RPC type 'nil'"
Locate the xmlrpc gem on your system.
Edit the config.rb file, find it in your system, locate the gem directory.
Around line 23
change to this
ENABLE_NIL_PARSER = false
to this
ENABLE_NIL_PARSER = true
This will prevent the parser from raising exceptions when nil nodes are returned.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
