Created
November 24, 2015 20:05
-
-
Save Meekohi/b74138b052b3de277241 to your computer and use it in GitHub Desktop.
Make a request to the Arqspin API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.get("//api.arqspin.com/nodeapi/search/5bttd9qwtx6adlihe7el?query=HJC37859",function(data){ | |
var spinid = data.spins[0].shortid; | |
if(spinid) | |
$(".product_image").append("<iframe src='//spins0.arqspin.com/iframe.html?spin="+spinid+"' width=512 height=512></iframe>"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment