I'm a Ruby/Rails dev working on a FoxyCart integration. Before I started I looked around for a gem that could help ease the pain of working with FoxyCart's API and SSO, datafeed, and cart validation protocols. I couldn't find one so I wrote one. It's called
FoxySync and was recently
published to rubygems.
Here's an example of retrieving customer info via the API:
api = FoxySync::Api::Messenger.new
reply = api.customer_get :customer_email => 'foo@bar.com'
reply.customer_id # is the customer's FoxyCart id
I hope someone else finds this useful! Contributions welcome.
That is awesome! Thanks for all your work on that and for sharing it around!
Any chance FoxySync can be added to the integrations page? I don't seem to be able to edit the main list. I think the addition would be helpful for others.
Thanks!
Thanks for that! With the wiki you basically create new pages by typing in the new URL and creating the page. I've created on for FoxySync here: http://wiki.foxycart.com/integration/ruby/foxysync - feel free to edit that as required.
Thanks again!