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

Add Locale parameter to BVReviewQuery #74

Open
wohral opened this issue Jul 20, 2022 · 1 comment
Open

Add Locale parameter to BVReviewQuery #74

wohral opened this issue Jul 20, 2022 · 1 comment

Comments

@wohral
Copy link

wohral commented Jul 20, 2022

Hello guys,
I am trying to add Locale as a parameter to the URL query using BVReviewQuery in iOS SDK BVSwift 1.9.0
But I cannot correct way, how to do it.
Can you help me, with how to reach this goal?

Here I can see, that there is a list of parameters, also containing the Locale parameter
https://developer.bazaarvoice.com/conversations-api/reference/v5.4/reviews/review-display#parameters

Thank you so much

@Abishekh-S-Kamath
Copy link
Contributor

Hi @wohral
Please refer to code snippet below to add locale as a parameter.
let reviewQuery = BVReviewQuery(productId: "test1", limit: 10, offset: 0) .unsafe("locale", value: "es_US")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants