Create a gist now

Instantly share code, notes, and snippets.

@72LuxBot /Quickstart.md Secret
Created Sep 6, 2013

Docs

Our docs are located here: http://docs.72lux.com. That site also explains how to use the API.

Quick start

  1. Log in to the Shoppable Dashboard using the email address hackathon@72lux.com and the password provided by Heather.
  2. Search for some products and add them to a frame. A frame is an HTML widget that displays products on a website, and it's also a grouping of products.
  3. Retrieve the contents of your product frame via our API.
  4. The API token bnkWG0YGG0D590QWf6cd3769d1 is tied to the Referer domain in the request hackathon.com (which can be spoofed) using a call like this:
curl -H "Referer: http://hackathon.com" "http://api.shoppable.co/v1/token/bnkWG0YGG0D590QWf6cd3769d1/frame/1851" | python -mjson.tool
  1. If you don't want to use the API but would rather use the pre-built HTML widgets you can see how to do that here.
  • You'll need to create an API token that matches your domain by going here
  1. The API also supports CRUD operations for shopping carts so you can add products to a shopping cart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment