Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a list of all products available from products ids #21

Closed
tbaranes opened this issue Apr 20, 2016 · 3 comments
Closed

Get a list of all products available from products ids #21

tbaranes opened this issue Apr 20, 2016 · 3 comments

Comments

@tbaranes
Copy link

tbaranes commented Apr 20, 2016

In my current application, I have a list of IDs clear to sales from the API, to be sure which ones I can show to the user, I need to verify which products are available or not on Apple side.

I though about using retrieveProductInfo, but that will create one request per product. One easy solution would be to create retrieveProductsInfo which could take an array of product ids, and return the ids available in the completion block.

What do you think?

@tbaranes tbaranes changed the title Get info of all products at once Get a list of all products available from products ids Apr 20, 2016
@bizz84
Copy link
Owner

bizz84 commented Apr 21, 2016

I agree. Will try to look into this over the weekend.

@bizz84
Copy link
Owner

bizz84 commented Apr 23, 2016

I implemented a proposal for this here:
#23

It's an API breaking change so I'm planning to leave the pull request open for one or two days to see if there is any feedback before merging it in.

Feel free to try it out :)

@bizz84
Copy link
Owner

bizz84 commented Apr 23, 2016

PR merged. Closing

@bizz84 bizz84 closed this as completed Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants