Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

How do I specify the return result's language #2

Closed
ghost opened this Issue · 2 comments

1 participant

mike demers
Deleted user

Dear Sir:
I use your rbing api, and I want to know how do I specify the return result's language. I check the code, and try add "language:en" but it seems not work. I want to know if there is any way to specify the return result's language. Many
thanks.

Yours sincerely

mike demers
Owner

The Bing API has a "Market" option on web search requests: http://msdn.microsoft.com/en-us/library/dd251064.aspx

For example, you can get French results for "food" with something like:

    bing.web("food", :Market => "fr-FR")
mike demers mikedemers closed this
Deleted user

Thanks for your kindly help. I also tried :language => "en, it also works, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.