webcams.travel

FREEMIUM
От webcams.travel | Обновлено год назад | Travel
Популярность

9.9 / 10

Задержка

755ms

Уровень обслуживания

100%

Назад ко всем обсуждениям

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии
Оценки: 5 - Голосов: 1