3 ms·
Hi just launched this API. So would love to get feedback like what could be improved or what is missing. Is a first version so any kind comments are welcome!
by janober 9y ago
Hi just launched this API. So would love to get feedback like what could be improved or what is missing. Is a first version so any kind comments are welcome!
- wiradikusuma 9y agoI tried a link to some product in some ecommerce (http://www.lazada.com.my/samsung-galaxy-note-8-6gb-ram64gb-rom-original-samsung-malaysia-set-black-91710731.html?spm=a2o4k.home.recommended-items_31972.18.34aa7d86A4adxN&lzd_rec_event_src=&lzd_rec_event_dest=SA356ELABILOGBANMY&strat=rec_global_top_prods&pa=home_page.recommended_items http://www.lazada.com.my/samsung-galaxy-note-8-6gb-ram64gb-r...), and it does extract the content.. but I only care about the "hero" item. Is it safe to just always take the 1st item in mainEntity>offers>offers[0]?
- linkfish 9y agoIt did actually just extract the data of the "hero" item. The thing is that it gets offered by multiple companies for different prices. So all the prices are valid and none is right or wrong. So really depends what you want. If you want simply "a" price, you can take the first. If you want the cheapest one you would have to itterate over them to find it.