toggle menu
app
androidJvm
switch theme
search in API
app
/
org.scottishtecharmy.soundscape.network
/
PhotonSearchProvider
/
getSearchResults
get
Search
Results
@
Headers
(
value
=
[
"Cache-control: max-age=0"
,
"Connection: keep-alive"
]
)
@
GET
(
value
=
"api/"
)
abstract
fun
getSearchResults
(
@
Query
(
value
=
"q"
)
searchString
:
String
,
@
Query
(
value
=
"lat"
)
latitude
:
Double
?
=
null
,
@
Query
(
value
=
"lon"
)
longitude
:
Double
?
=
null
,
@
Query
(
value
=
"lang"
)
language
:
String
=
Locale.getDefault().language
,
@
Query
(
value
=
"limit"
)
limit
:
UInt
,
@
Query
(
value
=
"location_bias_scale"
)
bias
:
Float
=
0.2f
)
:
Call
<
FeatureCollection
>