This homework is due by 8am, on 10/27/15
After completing this assignment, you should:
- Understand the basics of jQuery
$.ajax()
and$.getJSON()
- Push to Github and comment with a link to your repo & deployed version
Note: This should be a separate project from your previous assignment.
- Convert your Etsy homework to pulling in live data (via Ajax)
var etsyURL = 'https://api.etsy.com/v2/listings/active.js?api_key=h9oq2yf3twf4ziejn10b717i&keywords=whiskey&includes=Images,Shop';
$.ajax({
url: etsyURL,
dataType: 'json',
method: 'get'
}).then (function (response) {
console.log(response);
});