Skip to content

Commit 78779c1

Browse files
committed
Add instructions on settings
1 parent 5fb2457 commit 78779c1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ client.search('keyword', cb);
2222
client.suggest('api', cb);
2323
```
2424

25+
## Settings
26+
27+
The following settings are supported by the client
28+
```js
29+
// Get search results only in a specified language (e.g. "en" or "de")
30+
client.setLanguage('en');
31+
```
32+
33+
2534
## Browser support
2635
The client is tested on following browsers
2736
- Chrome

0 commit comments

Comments
 (0)