APG|SGA
infosnowAPI Type 1API Type 2Divers

API Type 2 - tickers

main entities

EntityTypeValuesDescription
countintany valid valuenumber of objects
itemsarrayitemsitems

items

EntityTypeValuesDescription
idintany valid valueid of station
namestringmax. 255 charsname
programsarrayprogramsprograms

programs

EntityTypeValuesDescription
startstring00:00-24:00start time
endstring00:00-24:00end time
translationobjecttranslationname translations
priorityint0 (info) | 1 (warning)importance of program
sectorsarrayany valid valuelist of strings including all tagged sectors
sectorMappingKeysarrayany valid valuelist of customer specific mappingKeys including all tagged sectors

translation

EntityTypeValuesDescription
destringmax. 255 charsgerman
frstringmax. 255 charsfrench
itstringmax. 255 charsitalian
enstringmax. 255 charsenglish
esstringmax. 255 charsspanish
nlstringmax. 255 charsdutch

Example

{"tickers": {
			"count": 2,
			"items": [
				{
					"id": 93,
					"name": "Warnmeldungen",
					"programs": [
						{
							"start": "00:00",
							"end": "24:00",
							"translation": {
								"de": "Händschefrässer geschlossen wegen starkem Wind",
								"fr": "Händschefrässer sdfgdfsg df wegen starkem Wind",
								"it": "Händschefrässer chiuso a causa del forte vento",
								"en": "Händschefrässer closed due to strong wind"
							},
							"sectors": [
								"Rothorn",
								"Gornergrat"
							]
						},
						{
							"start": "00:00",
							"end": "24:00",
							"translation": {
								"de": "Achtung ein tollwütiger Pudel treibt sein Unwesen",
								"fr": "Attention un caniche enragé sévit",
								"it": "Attenzione: un barboncino rabbioso combina guai",
								"en": "Attention: a rabid poodle is up to mischief"
							},
							"sectors": ["Sunnegga - Rothorn"]
						}
					]
				},
				{
					"id": 95,
					"name": "Warnmeldung - Schulung",
					"programs": [{
							"start": "00:00",
							"end": "24:00",
							"translation": {
								"de": "sdf",
								"fr": "sdf",
								"it": "sdf",
								"en": "sdf"
							}
						}]
				}
			]
		}}