Closed gdhgdhgdh closed 9 years ago
Hm,
I got this to work using:
irb(main):077:0> listings = Etsy::Request.get("/shops/#{user.shop.id}/sections/#{sect.id}/listings")
=> #<Etsy::Response:0x000000020b8388 @raw_response=#<Net::HTTPOK 200 OK readbody=true>>
Is this the most optimal way?
Cheers, Gavin.
I don't use the "models" (e.g. Listing
), I always just use the requests directly. It might not be the most optimal way, but it's certainly how I would do it :)
Nice - then it's good enough for me, too - thanks for the response!
Hi,
Thanks for writing this gem! :) Can you tell me how to get the Listings for a single section of a single shop? I have the
section
I want but can't figure out how to work with it...https://www.etsy.com/developers/documentation/reference/listing#method_findallshopsectionlistings says I need to pass at least
shop_id
andshop_section_id
- is the below the correct syntax for that? I'm hoping that I'm just missing something from*identifiers_and_options
but I don't know what it is. Can you help?Cheers, Gavin.