Closed Korri closed 8 years ago
Hey, thanks for the great library, needed to be hable to use the fields parameter to make a big request a bit faster, so here comes a patch, it works like expected:
fields
$api->findAllShopListingsActive(array( 'params' => array( 'shop_id' => xxx ), 'associations' => array( 'Images', 'Translations' ), 'fields' => array( 'listing_id', 'title', 'description', 'price', 'quantity', 'tags', 'url' ) ));
See here for more infos about the fields param: https://www.etsy.com/developers/documentation/getting_started/resources#section_fields
Just realized naming it select might have been more consistent with the rest of the code, but seems an un-necessary abstraction.
select
Thanks and sorry for the late response.
Hey, thanks for the great library, needed to be hable to use the
fields
parameter to make a big request a bit faster, so here comes a patch, it works like expected:See here for more infos about the
fields
param: https://www.etsy.com/developers/documentation/getting_started/resources#section_fields