bazaarvoice / bv-ios-swift-sdk

Bazaarvoice's Swift SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Locale parameter to BVReviewQuery

wohral opened this issue · comments

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

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")