I lack experience in extracting data from websites, but I'm interested in learning how to utilize data from: . I believe this data is in the form of an array and I want to loop through it to find an item with the name "example" and gather additional information about that specific item. Can anyone point me to useful resources or explain the process? Thank you!
Furthermore, when I attempt the following:
var products =[];
$.getJSON("http://www.supremenewyork.com/mobile_stock.json",function(data){
products=data.products_and_categories.Bags;
});
the 'products' variable should contain the following data for Bags: [{"name":"Supreme®/LACOSTE Shoulder Bag","id":171383,"image_url":"//d17ol771963kd3.cloudfront.net/150220/ca/j2E28zL8Qjw.jpg","image_url_hi":"//assets.supremenewyork.com/150220/rc/j2E28zL8Qjw.jpg","price":11000,"sale_price":0,"new_item":true,"position":12,"category_name":"Bags"},...(and more items){"name":"Waist Bag","id":171192,"image_url":"//d17ol771963kd3.cloudfront.net/148435/ca/YJ3QsO4FWDw.jpg","image_url_hi":"//d17ol771963kd3.cloudfront.net/148435/rc/YJ3QsO4FWDw.jpg","price":8800,"sale_price":0,"new_item":false,"position":30,"category_name":"Bags"}] and if I access products[0].id, I should get the value 171383, right?