Last active
January 17, 2021 14:06
-
-
Save itasyurt/73ef288bd738b43d806d58bb6205ad77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val engineName = "f1drivers2020" | |
val client = DefaultClient(url = "http://localhost:3002", apiKey = apiKey) | |
val sr = SearchRequest(query = "ferrari") | |
val resp = client.search.search(engineName, searchRequest = sr) | |
resp.results.forEach { println(it) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment