Closed jacobthemyth closed 9 years ago
Dynamically fetch data from the Etsy API
After completing this assignment, you should...
$.ajax
After completing this assignment, you be able to
main.js
main.scss
index.html
Implement a search box so that, when the user searches for a term or phrase, the page is updated (without refreshing) with the new results.
Use ajax to fetch new data when the sorting dropdown is used.
Note: You can tell the API to sort the data using the sort_on parameter in the URL. You can see the different values allowed at https://www.etsy.com/developers/documentation/reference/listing#method_findalllistingactive
sort_on
https://github.com/ATMartin/TIY-HW-11-EtsyListings.git
New query is searchable. I already had the URLs in for data sorting - just need to wire up the reload functions. Will hit that when I get home. Thanks!
Etsy Dynamic Ajax
Description
Dynamically fetch data from the Etsy API
Objectives
Learning Objectives
After completing this assignment, you should...
$.ajax
methodPerformance Objectives
After completing this assignment, you be able to
Details
Deliverables
main.js
main.scss
index.html
Requirements
Normal Mode
Implement a search box so that, when the user searches for a term or phrase, the page is updated (without refreshing) with the new results.
Hard Mode
Use ajax to fetch new data when the sorting dropdown is used.
Note: You can tell the API to sort the data using the
sort_on
parameter in the URL. You can see the different values allowed at https://www.etsy.com/developers/documentation/reference/listing#method_findalllistingactive