feat: open-trip-api-drink #11

Merged
Clement merged 34 commits from feat/open-trip-api into master 2024-05-19 09:38:39 +00:00
10 changed files with 64 additions and 32 deletions
Showing only changes of commit 405dcaeba9 - Show all commits

View 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
}

View File

@ -1,7 +1,7 @@
meta { meta {
name: otm_ex_city name: otm_ex_city
type: http type: http
seq: 8 seq: 1
} }
get { get {

View File

@ -1,7 +1,7 @@
meta { meta {
name: otm_ex_drink_id name: otm_ex_drink_id
type: http type: http
seq: 10 seq: 2
} }
get { get {

View File

@ -1,7 +1,7 @@
meta { meta {
name: otm_ex_radius name: otm_ex_radius
type: http type: http
seq: 9 seq: 3
} }
get { get {

View File

@ -1,11 +0,0 @@
meta {
name: get return format
type: http
seq: 11
}
get {
url: https://dev.opentripmap.org/openapi.en.json
body: none
auth: none
}

View File

@ -1,7 +1,7 @@
meta { meta {
name: otm_drink name: otm_drink
type: http type: http
seq: 6 seq: 1
} }
get { get {

View 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
}

View File

@ -1,7 +1,7 @@
meta { meta {
name: otm_drink_id name: otm_drink_id
type: http type: http
seq: 7 seq: 3
} }
get { get {

View 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
}

View File

@ -1,16 +0,0 @@
meta {
name: otm_location
type: http
seq: 5
}
get {
url: {{TRIPMAP_URL}}/en/places/geoname?name=Paris&apikey={{OTM_KEY}}
body: none
auth: none
}
query {
name: Paris
apikey: {{OTM_KEY}}
}