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:
19
bruno/OpenData datatourisme/otm/otm_drink.bru
Normal file
19
bruno/OpenData datatourisme/otm/otm_drink.bru
Normal file
@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: otm_drink
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{TRIPMAP_URL}}/en/places/radius?radius=10&lon=-1.4344594&lat=46.6686478&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
radius: 10
|
||||
lon: -1.4344594
|
||||
lat: 46.6686478
|
||||
apikey: {{OTM_KEY}}
|
||||
kinds: bars,cafes,pubs,biergartens
|
||||
}
|
19
bruno/OpenData datatourisme/otm/otm_drink_bbox.bru
Normal file
19
bruno/OpenData datatourisme/otm/otm_drink_bbox.bru
Normal file
@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: otm_drink_bbox
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{TRIPMAP_URL}}/en/places/radius?radius=10&lon=-1.4344594&lat=46.6686478&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
radius: 10
|
||||
lon: -1.4344594
|
||||
lat: 46.6686478
|
||||
apikey: {{OTM_KEY}}
|
||||
kinds: bars,cafes,pubs,biergartens
|
||||
}
|
15
bruno/OpenData datatourisme/otm/otm_drink_id.bru
Normal file
15
bruno/OpenData datatourisme/otm/otm_drink_id.bru
Normal file
@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: otm_drink_id
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: https://api.opentripmap.com/0.1/en/places/xid/562635?apikey={{OTM_KEY}}
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
apikey: {{OTM_KEY}}
|
||||
}
|
20
bruno/OpenData datatourisme/otm/otm_location.bru
Normal file
20
bruno/OpenData datatourisme/otm/otm_location.bru
Normal file
@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: otm_location
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: https://api.opentripmap.com/0.1/en/places/bbox?lon_min=-1.435199&lon_max=-1.43519&lat_min=46.668460&lat_max=46.668461&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
lon_min: -1.435199
|
||||
lon_max: -1.43519
|
||||
lat_min: 46.668460
|
||||
lat_max: 46.668461
|
||||
apikey: {{OTM_KEY}}
|
||||
kinds: bars,cafes,pubs,biergartens
|
||||
}
|
Reference in New Issue
Block a user