feat: open-trip-api-drink (#11)
Reviewed-on: #11 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
This commit is contained in:
20
bruno/OpenData datatourisme/express/otm_ex_box.bru
Normal file
20
bruno/OpenData datatourisme/express/otm_ex_box.bru
Normal file
@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: otm_ex_box
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/otm/box?lon1=-1.435199&lon2=-1.43519&lat1=46.668460&lat2=46.668461&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
lon1: -1.435199
|
||||
lon2: -1.43519
|
||||
lat1: 46.668460
|
||||
lat2: 46.668461
|
||||
apikey: {{OTM_KEY}}
|
||||
kinds: bars,cafes,pubs,biergartens
|
||||
}
|
16
bruno/OpenData datatourisme/express/otm_ex_city.bru
Normal file
16
bruno/OpenData datatourisme/express/otm_ex_city.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: otm_ex_city
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/otm/city?name=La roche sur yon&radius=300
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
name: La roche sur yon
|
||||
radius: 300
|
||||
}
|
15
bruno/OpenData datatourisme/express/otm_ex_drink_id.bru
Normal file
15
bruno/OpenData datatourisme/express/otm_ex_drink_id.bru
Normal file
@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: otm_ex_drink_id
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: https://api.opentripmap.com/0.1/en/places/xid/562635?apikey={{OTM_KEY}}
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
apikey: {{OTM_KEY}}
|
||||
}
|
16
bruno/OpenData datatourisme/express/otm_ex_radius.bru
Normal file
16
bruno/OpenData datatourisme/express/otm_ex_radius.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: otm_ex_radius
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/otm/city?name=La roche sur yon&radius=300
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
name: La roche sur yon
|
||||
radius: 300
|
||||
}
|
Reference in New Issue
Block a user