webcams.travel

ÜCRETSİZ PREMIUM
Verified
Taraf webcams.travel | Güncelleyen год назад | Travel
Popülerlik

9.9 / 10

Gecikme

512ms

Hizmet Düzeyi

100%

Tüm Tartışmalara Dön

No webcam object in the response

B
bandb
6 лет назад

Hi,
I am wondering why is there no webcam object in the response as mentioned in the documentation.
Help is appreciated.

{
“status”: “OK”,
“result”: {
“offset”: 0,
“limit”: 10,
“total”: 1,
“webcams”: [
{
“id”: “1054917524”,
“status”: “active”,
“title”: “Feldberg-Ort: Seebuck Gipfel I, Feldberg, Baden-W”
}
]
}
}

curl --get --include ‘https://webcamstravel.p.mashape.com/webcams/list/webcam=1054917524?show=webcam

B
bandb commented 6 лет назад

Hi,
thanks a lot for the swift reply, that’s what I was looking for.

avatar
webcams.travel commented 6 лет назад

Hi

With this request you get the webcam object, but only in its basic form (you get the id, status, and title). In order to get more information per webcam, you have to specify the parts you are interesed in.

For example if your are interesed in the location details for the webcams, then you have to add this to the show query parameter like this:

curl --get --include ‘https://webcamstravel.p.mashape.com/webcams/list/webcam=1054917524?show=webcams:basic,location

For more details on the available parts for the webcam object, please check out the documentation: https://developers.webcams.travel/#webcams-query-parameter

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun
Değerlendirme: 5 - Oy Sayısı: 1