feat: open-trip-api-drink #11
@ -1,3 +1,7 @@
|
||||
vars {
|
||||
TRIPMAP_URL: https://api.opentripmap.com/0.1
|
||||
}
|
||||
vars:secret [
|
||||
app_key
|
||||
app_key,
|
||||
OTM_KEY
|
||||
]
|
||||
|
@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: express test
|
||||
name: express Drink OTM
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
19
bruno/OpenData datatourisme/otm_drink.bru
Normal file
19
bruno/OpenData datatourisme/otm_drink.bru
Normal file
@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: otm_drink
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{TRIPMAP_URL}}/en/places/radius?radius=1000&lon=-1.43333&lat=46.66667&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
radius: 1000
|
||||
lon: -1.43333
|
||||
lat: 46.66667
|
||||
apikey: {{OTM_KEY}}
|
||||
kinds: bars,cafes,pubs,biergartens
|
||||
}
|
16
bruno/OpenData datatourisme/otm_ex_city.bru
Normal file
16
bruno/OpenData datatourisme/otm_ex_city.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: otm_ex_city
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
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
|
||||
}
|
16
bruno/OpenData datatourisme/otm_location.bru
Normal file
16
bruno/OpenData datatourisme/otm_location.bru
Normal file
@ -0,0 +1,16 @@
|
||||
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}}
|
||||
}
|
22
bruno/OpenData datatourisme/test graphQL.bru
Normal file
22
bruno/OpenData datatourisme/test graphQL.bru
Normal file
@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: test graphQL
|
||||
type: graphql
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: https://datatour-tweb.cb85.fr
|
||||
body: graphql
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:graphql {
|
||||
{
|
||||
poi {
|
||||
total
|
||||
results {
|
||||
_uri
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user