MojePrahaAPI
Open REST API serving as a back-end for mobile and other applications. Gathers, enriches and caches data from various sources and provides a single access point to the data. For open access to live data, ask for API Key. Feel free to use the mock-api server.
Developed by http://operatorict.cz
Versions
General info
Parameters:
-
latlng
- location, API performs geo-spatial search to retrieve data close to the location
-
range
- filters the results by their distance from provided latlng in meters (range query)
-
district
- filters by Prague city districts (separated by comma)
-
limit
- pagination - limits number of retrieved items (kNN query)
-
offset
- pagination - mumber of the first items that are skipped
General ¶
General (helper) resources to be used elsewhere in the API.
-
api to get address from latlng: https://maps.google.com/maps/api/geocode/json?key=AIzaSyDEB20Wqg_g5N0U45sru3Z58nHX8aGhAMI&latlng=50.1086,14.5764065
-
api to get geo from address: http://maps.google.com/maps/api/geocode/json?address=Praha
-
city districts source http://opendata.iprpraha.cz (json)
Prague City Districts ¶
GET All DistrictsGET/city-districts/{?latlng,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Returns district which contains object by provided latlng (Latitude and Longitude separated by comma).
- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": 500054,
"slug": "praha-1",
"name": "Praha 1"
},
{
"id": 500089,
"slug": "praha-2",
"name": "Praha 2"
},
{
"id": 538361,
"slug": "praha-kolovraty",
"name": "Praha-Kolovraty"
}
]
Prague City District ¶
GET DistrictGET/city-districts/{district_id}
Example URI
- district_id
string
(required) Example: praha-1Identifier or slug of the city district.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": 500054,
"slug": "praha-1",
"name": "Praha 1"
}
Traffic ¶
Online traffic data from Prague.
Data provider:
-
http://www.tsk-praha.cz/ (json)
-
https://www.rekola.cz/ (json)
-
https://www.hoppygo.com/ (json)
Traffic Cameras ¶
GET All CamerasGET/traffic-cameras/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.432778,
50.059193
]
},
"properties": {
"id": 404032,
"image": {
"file_size": 19032,
"url": "http://www.tsk-praha.cz/cams/cam404032.jpg"
},
"last_updated": 1501140717000,
"name": "5.května",
"district": "praha-4",
"address": "Viktorinova 200/5, Nusle, 140 00 Praha-Praha 4, Česko"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.455956,
50.124226
]
},
"properties": {
"id": 606748,
"image": {
"file_size": 16426,
"url": "http://www.tsk-praha.cz/cams/cam606748.jpg"
},
"last_updated": 1501140723000,
"name": "DP - Kobylisy C - BUS MHD DP",
"district": "praha-8",
"address": "Kobylisy, 182 00 Praha-Praha 8, Česko"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.5764065,
50.1086
]
},
"properties": {
"id": 607520,
"image": {
"file_size": 13673,
"url": "http://www.tsk-praha.cz/cams/cam607520.jpg"
},
"last_updated": 1501140722000,
"name": "Černý most - Chlumecká",
"district": "praha-14",
"address": "Černý Most, 198 00 Praha-Praha 14, Česko"
}
}
]
}
Traffic Camera ¶
GET CameraGET/traffic-cameras/{camera_id}
Example URI
- camera_id
number
(required) Example: 404032Identifier of the camera.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.432778,
50.059193
]
},
"properties": {
"id": 404032,
"image": {
"file_size": 19032,
"url": "http://www.tsk-praha.cz/cams/cam404032.jpg"
},
"last_updated": 1501140717000,
"name": "5.května",
"district": "praha-4",
"address": "Viktorinova 200/5, Nusle, 140 00 Praha-Praha 4, Česko"
}
}
404
P+R Parkings ¶
GET All P+R ParkingsGET/pr-parkings/{?latlng,range,district,limit,offset}
DEPRECATED
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.350451,
50.05053
]
},
"properties": {
"id": 534013,
"last_updated": 1502178725000,
"name": "Nové Butovice",
"num_of_free_places": 0,
"num_of_taken_places": 57,
"total_num_of_places": 57,
"pr": true,
"district": "praha-13",
"address": "Seydlerova 2152/1, Stodůlky, 158 00 Praha-Praha 13, Česko"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.509193,
50.026302
]
},
"properties": {
"id": 534005,
"last_updated": 1502178752000,
"name": "Opatov",
"num_of_free_places": 37,
"num_of_taken_places": 144,
"total_num_of_places": 181,
"pr": true,
"district": "praha-11",
"address": "Chilská, 149 00 Praha 11, Česko"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.36348,
49.986687
]
},
"properties": {
"id": 534007,
"last_updated": 1502178405000,
"name": "Radotín",
"num_of_free_places": 24,
"num_of_taken_places": 12,
"total_num_of_places": 36,
"pr": true,
"district": "praha-16",
"address": "Prvomájová 265/28, 153 00 Praha-Radotín, Česko"
}
}
]
}
P+R Parking ¶
GET P+R ParkingGET/pr-parkings/{parking_id}
DEPRECATED
Example URI
- parking_id
number
(required) Example: 534013Identifier of the P+R parking.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.350451,
50.05053
]
},
"properties": {
"id": 534013,
"last_updated": 1502178725000,
"name": "Nové Butovice",
"num_of_free_places": 0,
"num_of_taken_places": 57,
"total_num_of_places": 57,
"pr": true,
"district": "praha-13",
"address": "Seydlerova 2152/1, Stodůlky, 158 00 Praha-Praha 13, Česko"
}
}
404
Parkings ¶
Parking type enum:
-
1 P+R parkoviště
-
2 placené parkoviště
GET All ParkingsGET/parkings/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"geometry": {
"coordinates": [
14.434239,
50.083508
],
"type": "Point"
},
"properties": {
"parking_type": {
"description": "placené parkoviště",
"id": 2
},
"id": 534201,
"last_updated": 1554384445000,
"name": "Wilsonova",
"num_of_free_places": 94,
"num_of_taken_places": 370,
"total_num_of_places": 464,
"district": "praha-1",
"address": "Wilsonova 300/8, Vinohrady, 110 00 Praha 1, Česko"
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
14.56221,
50.10684
],
"type": "Point"
},
"properties": {
"parking_type": {
"description": "P+R parkoviště",
"id": 1
},
"id": 534004,
"last_updated": 1554384469000,
"name": "Rajská zahrada",
"num_of_free_places": 8,
"num_of_taken_places": 80,
"total_num_of_places": 88,
"district": "praha-14",
"address": "Cíglerova 1079/10, 198 00 Praha 14-Černý Most, Česko"
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
14.472344,
50.126156
],
"type": "Point"
},
"properties": {
"parking_type": {
"description": "P+R parkoviště",
"id": 1
},
"id": 534014,
"last_updated": 1554384381000,
"name": "Ládví",
"num_of_free_places": 15,
"num_of_taken_places": 63,
"total_num_of_places": 78,
"district": "praha-8",
"address": "Davídkova 1764/112, 182 00 Praha 8-Libeň, Česko",
"payment_link": "https://ke-utc.appspot.com/static/select_offstreet.html?shortname=121"
},
"type": "Feature"
}
]
}
Parking ¶
GET ParkingGET/parkings/{parking_id}
Example URI
- parking_id
number
(required) Example: 534014Identifier of the parking.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"geometry": {
"coordinates": [
14.472344,
50.126156
],
"type": "Point"
},
"properties": {
"parking_type": {
"description": "P+R parkoviště",
"id": 1
},
"id": 534014,
"last_updated": 1554384381000,
"name": "Ládví",
"num_of_free_places": 15,
"num_of_taken_places": 63,
"total_num_of_places": 78,
"district": "praha-8",
"address": "Davídkova 1764/112, 182 00 Praha 8-Libeň, Česko",
"payment_link": "https://ke-utc.appspot.com/static/select_offstreet.html?shortname=121"
},
"type": "Feature"
}
404
Parking Zones ¶
“Category” definition:
-
RES - residential area (blue)
-
VIS - visitor area (orange)
-
MIX - mixed area (purple)
-
KOM - area only with ZTP or forbidden (grey)
GET All Parking ZonesGET/parking-zones/{?latlng,range,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"id": 1,
"code": "P8-2023",
"category": "RES",
"owner": "HMP-TSK",
"tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
"payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2023",
"name": "Rezidentní úsek - P8-2023",
"max_coord": [
14.47616391,
50.135255816
],
"min_coord": [
14.474653882,
50.134232254
],
"tariftext_parsed": [
{
"hours": [
"08:00-19:59 40 Kč/hod"
],
"day": "Po-Pá"
},
{
"hours": [
"zdarma"
],
"day": "So-Ne"
}
]
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
14.474653882,
50.134232254
],
[
14.4748185460001,
50.134660212
],
[
14.4755047300001,
50.1351299080001
],
[
14.4758308790001,
50.135241223
],
[
14.4761363800001,
50.135255816
],
[
14.47616391,
50.1350223260001
],
[
14.475919828,
50.134757952
],
[
14.475352244,
50.1344565840001
],
[
14.475113456,
50.1343164210001
],
[
14.474653882,
50.134232254
]
]
]
}
},
{
"type": "Feature",
"properties": {
"id": 3,
"code": "P8-2025",
"category": "RES",
"owner": "HMP-TSK",
"tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
"payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2025",
"name": "Rezidentní úsek - P8-2025",
"max_coord": [
14.477444813,
50.134098538
],
"min_coord": [
14.4760387580001,
50.1336817750001
],
"tariftext_parsed": [
{
"hours": [
"08:00-19:59 40 Kč/hod"
],
"day": "Po-Pá"
},
{
"hours": [
"zdarma"
],
"day": "So-Ne"
}
]
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
14.4760381770001,
50.133997424
],
[
14.4760387580001,
50.133997811
],
[
14.476045809,
50.13401522
],
[
14.476080917,
50.1340293040001
],
[
14.476811576,
50.134098538
],
[
14.477444813,
50.133936992
],
[
14.4772203210001,
50.133789021
],
[
14.4766188510001,
50.1336817750001
],
[
14.4760381770001,
50.133997424
]
]
]
}
},
{
"type": "Feature",
"properties": {
"id": 2,
"code": "P8-2024",
"category": "RES",
"owner": "HMP-TSK",
"tariftext": "Po-Pá: 08:00-19:59 40 Kč/hod, 08:00-19:59 40 Kč/hod; So-Ne: zdarma",
"payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P8-2024",
"name": "Rezidentní úsek - P8-2024",
"max_coord": [
14.476048529,
50.1343164210001
],
"min_coord": [
14.474653882,
50.1337910570001
],
"tariftext_parsed": [
{
"hours": [
"08:00-19:59 40 Kč/hod"
],
"day": "Po-Pá"
},
{
"hours": [
"zdarma"
],
"day": "So-Ne"
}
]
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
14.474653882,
50.134232254
],
[
14.475113456,
50.1343164210001
],
[
14.475501023,
50.1343069180001
],
[
14.476002954,
50.134179311
],
[
14.476045809,
50.13401522
],
[
14.4760387580001,
50.133997811
],
[
14.475744575,
50.1337910570001
],
[
14.474759776,
50.134149445
],
[
14.474653882,
50.134232254
]
]
]
}
}
]
}
Parking Zone ¶
GET Parking ZoneGET/parking-zones/{parking_code}
Example URI
- parking_code
string
(required) Example: P6-0545Identifier of the parking zone.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"properties": {
"id": 944,
"code": "P6-0545",
"category": "MIX",
"owner": "HMP-TSK",
"tariftext": "Po-Pá: 08:00-05:59 20 Kč/hod, 08:00-19:59 20 Kč/hod, 20:00-05:59 20 Kč/hod; So-Ne: zdarma",
"payment_link": "https://ke-utc.appspot.com/static/onstreet.html?shortname=P6-0545",
"name": "Rezidentní úsek - P6-0545",
"max_coord": [
14.381532312,
50.0854005750001
],
"min_coord": [
14.3804261940001,
50.084303617
],
"tariftext_parsed": [
{
"hours": [
"08:00-19:59 20 Kč/hod",
"08:00-05:59 20 Kč/hod",
"20:00-05:59 20 Kč/hod"
],
"day": "Po-Pá"
},
{
"hours": [
"zdarma"
],
"day": "So-Ne"
}
]
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
14.3814973820001,
50.0854005750001
],
[
14.381532312,
50.085228064
],
[
14.3806401320001,
50.084303617
],
[
14.380570017,
50.0843433570001
],
[
14.380546285,
50.084353955
],
[
14.3804854690001,
50.0843627880001
],
[
14.3804261940001,
50.0844279890001
],
[
14.381277217,
50.0853353740001
],
[
14.3814973820001,
50.0854005750001
]
]
]
}
}
404
City Space ¶
Data about public spaces, weather, medical institutions, etc.
Data provider:
-
http://www.geoportalpraha.cz/ (geo json)
-
http://portal.chmi.cz/ (xml)
-
http://www.tsk-praha.cz/ (json)
-
https://www.mlp.cz/ (html)
-
internal
Playgrounds ¶
GET All PlaygroundsGET/playgrounds/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.42376709,
50.082542419
]
},
"properties": {
"id": 1,
"name": "Františkánská zahrada",
"url": "http://www.hristepraha.cz/hriste/mapa/frantiskanska-zahrada",
"address": "Jungmannovo nám. 751/19, Nové Město, 110 00 Praha-Praha 1, Česko",
"district": "praha-1",
"perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
"content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
"image": {
"url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
},
"properties": [
{
"id": 5,
"title": "Voda-hydrant nebo umyvadlo"
},
{
"id": 6,
"title": "WC na hřišti nebo v bezprostřední blízkosti"
}
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.413350105,
50.108131409
]
},
"properties": {
"id": 5,
"name": "Stromovka - hřiště U malé říčky",
"url": "http://www.hristepraha.cz/hriste/mapa/stromovka-hriste-u-male-ricky",
"address": "Koňská stezka, 170 00 Praha 7, Česko",
"district": "praha-7",
"perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
"content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
"image": {
"url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
},
"properties": [
{
"id": 4,
"title": "Fitness prvky"
}
]
}
}
]
}
Playground ¶
GET PlaygroundGET/playgrounds/{playground_id}
Example URI
- playground_id
number
(required) Example: 2Identifier of the playground.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.42376709,
50.082542419
]
},
"properties": {
"id": 1,
"name": "Františkánská zahrada",
"url": "http://www.hristepraha.cz/hriste/mapa/frantiskanska-zahrada",
"address": "Jungmannovo nám. 751/19, Nové Město, 110 00 Praha-Praha 1, Česko",
"district": "praha-1",
"perex": "Stromovka nám nabídne tolik, že se vyplatí zajít sem na celý den.",
"content": "Stromovku tvoří rozlehlý park s hustou sítí asfaltových cest, které se hodí pro cyklistiku i in-line bruslení. Najdeme...",
"image": {
"url": "http://www.hristepraha.cz/images/img/7be728b6a9a60321e553d8d6a4758b18o.jpg"
},
"properties": [
{
"id": 5,
"title": "Voda-hydrant nebo umyvadlo"
},
{
"id": 6,
"title": "WC na hřišti nebo v bezprostřední blízkosti"
}
]
}
}
404
Playground Properties ¶
GET Playground PropertiesGET/playgrounds/properties
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": 1,
"title": "Plocha pro míčové hry"
},
{
"id": 2,
"title": "In line stezky, skate parky, BMX areály, dopravní hřiště"
},
{
"id": 3,
"title": "Jiné sporty (lanová centra, minigolf, discgolf, boby)"
},
{
"id": 4,
"title": "Fitness prvky"
},
{
"id": 5,
"title": "Voda-hydrant nebo umyvadlo"
},
{
"id": 6,
"title": "WC na hřišti nebo v bezprostřední blízkosti"
},
{
"id": 7,
"title": "Správce na hřišti"
},
{
"id": 8,
"title": "Částečný stín"
},
{
"id": 9,
"title": "Kultura (muzea, galerie, venkovní sochy, divadla, planetária)"
},
{
"id": 10,
"title": "Naučné stezky"
},
{
"id": 11,
"title": "ZOO koutky"
},
{
"id": 12,
"title": "Restaurace nebo kavárny v bezprostřední blízkosti"
},
{
"id": 13,
"title": "Bazény, vodní atrakce, vodní soustavy"
}
]
Gardens ¶
GET All GardensGET/gardens/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.423701,
50.082386
]
},
"properties": {
"id": "frantiskanska-zahrada",
"name": "Františkánská zahrada",
"image": "http://www.praha.eu/public/8f/95/1/159114_24036_frantiskanska_3.jpg",
"description": "V samém centru Prahy, mezi Václavským a Jungmannovým náměstím, se ukrývá jedna z nejpříjemnějších zahrad otevřených pro veřejnost, kde je možné usednout na lavičku, přečíst si knihu nebo si pohrát s dětmi.",
"url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/frantiskanska_zahrada/frantiskanska_text.html",
"address": "Jungmannovo nám. 751/19",
"district": "praha-1",
"properties": [
{
"id": "restaurace",
"value": "Občerstvení: V bezprostředním okolí – pasáž Alfa, Václavské i Jungmannovo náměstí, Národní třída"
},
{
"id": "wc",
"value": "ANO, bezbariérové"
},
{
"id": "misto",
"value": "Příjemné posezení v samém centru města, vhodné pro děti i seniory, psi NE, v sousedství kostel P. Marie Sněžné"
},
{
"id": "kolo",
"value": "ANO"
},
{
"id": "hriste",
"value": "ANO"
},
{
"id": "brusle",
"value": "NE"
},
{
"id": "sport",
"value": "NE"
},
{
"id": "mhd",
"value": "Václavské nám. Tram. Č. 3, 9, 14, 24, 51, 52, 54, 55, 56, 58, metro A, B Můstek"
},
{
"id": "parking",
"value": "NE"
},
{
"id": "cesty",
"value": "Dlažba, v dětském koutku speciální povrch"
},
{
"id": "provoz",
"value": "Hlavní město Praha"
},
{
"id": "doba",
"value": "Celoročně, uzavírá se na noc"
}
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.395004,
50.070894
]
},
"properties": {
"id": "betramka",
"name": "Betramka",
"image": "http://www.praha.eu/public/5c/7c/31/96820_4_bertramka_08.jpg",
"description": "Mozartova busta v zahradě legendární usedlosti stojí na vyvýšeném, trochu zvláštním, místě, jakoby stranou pomyslné hlavní osy podlouhlého pozemku. Mistr, byť pouze v kamenné podobě, tak má dokonalý přehled o dění v zahradě, ale současně překrásný výhled na stráně vrchu Mrázovka.",
"url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/bertramka/bertramka_text.html",
"address": "Mozartova 844/14",
"district": "praha-5",
"properties": [
{
"id": "wc",
"value": "ANO"
},
{
"id": "misto",
"value": "Kulturní památka, koncerty vážné hudby, společenské akce, muzeum W. A. Mozarta"
},
{
"id": "kolo",
"value": "ANO"
},
{
"id": "hriste",
"value": "NE"
},
{
"id": "brusle",
"value": "NE"
},
{
"id": "sport",
"value": "NE"
},
{
"id": "mhd",
"value": "Bertramka tram č. 4, 7, 9, 10, 58, 59"
},
{
"id": "parking",
"value": "ANO, v podzemním parkingu OC Smíchov"
},
{
"id": "cesty",
"value": "Dlažba"
},
{
"id": "provoz",
"value": "Městská část Praha 5 a spol. Comenius"
},
{
"id": "doba",
"value": "Celoročně duben až říjen 9-18 hod., listopad až březen 9:30-16 hod."
}
]
}
}
]
}
Garden ¶
GET GardenGET/gardens/{garden_id}
Example URI
- garden_id
string
(required) Example: frantiskanska-zahradaIdentifier of the garden.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.423701,
50.082386
]
},
"properties": {
"id": "frantiskanska-zahrada",
"name": "Františkánská zahrada",
"image": "http://www.praha.eu/public/8f/95/1/159114_24036_frantiskanska_3.jpg",
"description": "V samém centru Prahy, mezi Václavským a Jungmannovým náměstím, se ukrývá jedna z nejpříjemnějších zahrad otevřených pro veřejnost, kde je možné usednout na lavičku, přečíst si knihu nebo si pohrát s dětmi.",
"url": "http://www.praha.eu/jnp/cz/co_delat_v_praze/parky/frantiskanska_zahrada/frantiskanska_text.html",
"address": "Jungmannovo nám. 751/19",
"district": "praha-1",
"properties": [
{
"id": "restaurace",
"value": "Občerstvení: V bezprostředním okolí – pasáž Alfa, Václavské i Jungmannovo náměstí, Národní třída"
},
{
"id": "wc",
"value": "ANO, bezbariérové"
},
{
"id": "misto",
"value": "Příjemné posezení v samém centru města, vhodné pro děti i seniory, psi NE, v sousedství kostel P. Marie Sněžné"
},
{
"id": "kolo",
"value": "ANO"
},
{
"id": "hriste",
"value": "ANO"
},
{
"id": "brusle",
"value": "NE"
},
{
"id": "sport",
"value": "NE"
},
{
"id": "mhd",
"value": "Václavské nám. Tram. Č. 3, 9, 14, 24, 51, 52, 54, 55, 56, 58, metro A, B Můstek"
},
{
"id": "parking",
"value": "NE"
},
{
"id": "cesty",
"value": "Dlažba, v dětském koutku speciální povrch"
},
{
"id": "provoz",
"value": "Hlavní město Praha"
},
{
"id": "doba",
"value": "Celoročně, uzavírá se na noc"
}
]
}
}
404
Garden Properties ¶
GET Garden PropertiesGET/gardens/properties
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": "restaurace",
"title": "Občerstvení"
},
{
"id": "wc",
"title": "WC"
},
{
"id": "misto",
"title": "Zajímavosti"
},
{
"id": "kolo",
"title": "Cyklostezky"
},
{
"id": "hriste",
"title": "Dětské hřiště"
},
{
"id": "brusle",
"title": "Bruslení"
},
{
"id": "sport",
"title": "Sportovní hřiště"
},
{
"id": "mhd",
"title": "MHD"
},
{
"id": "parking",
"title": "Parkování"
},
{
"id": "cesty",
"title": "Povrch cest"
},
{
"id": "provoz",
"title": "Provozovatel"
},
{
"id": "doba",
"title": "Otevírací doba"
}
]
Public Toilets ¶
GET All ToiletsGET/public-toilets/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.456224317, 50.0823295810001]
},
"properties": {
"id": 1,
"address": "Táboritská 1200/21, Žižkov, 130 00 Praha-Praha 3, Česko",
"opened": "nonstop",
"price": "jednotná cena 5 Kč",
"district": "praha-3"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.4380032340001, 50.040602377]
},
"properties": {
"id": 2,
"address": "Ryšánka, 140 00 Praha-Praha 4, Česko",
"opened": "nonstop",
"price": "jednotná cena 5 Kč",
"district": "praha-4"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.4402713210001, 50.0644757420001]
},
"properties": {
"id": 3,
"address": "nám. Bratří Synků 300/15, Nusle, 140 00 Praha-Praha 4, Česko"
"opened": "nonstop",
"price": "jednotná cena 5 Kč",
"district": "praha-4"
}
}
]
}
Public Toilet ¶
GET ToiletGET/public-toilets/{toilet_id}
Example URI
- toilet_id
number
(required) Example: 1Identifier of the public toilet.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.456224317,
50.0823295810001
]
},
"properties": {
"id": 1,
"address": "Táboritská 1200/21, Žižkov, 130 00 Praha-Praha 3, Česko",
"opened": "nonstop",
"price": "jednotná cena 5 Kč",
"district": "praha-3"
}
}
404
Municipal Libraries ¶
GET All Municipal LibrariesGET/municipal-libraries/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.491924,
50.024191
]
},
"properties": {
"id": "chodov",
"name": "Chodov",
"address": "Jírovcovo náměstí 1782/1 Praha 11",
"district": "praha-11",
"opening_hours": [
{
"day": "Pondělí",
"hours": "13:00 - 19:00"
},
{
"day": "Úterý",
"hours": "09:00 - 16:00"
},
{
"day": "Středa",
"hours": "12:00 - 19:00"
},
{
"day": "Čtvrtek",
"hours": "12:00 - 19:00"
},
{
"day": "Pátek",
"hours": "09:00 - 16:00"
}
],
"telephone": "770 130 289",
"email": "knihovna@mlp.cz",
"web": "https://www.mlp.cz/cz/kontakty/pobocky/chodov/",
"office_manager": "Petr Kollár",
"services": [
{
"description": "Bezbariérový přístup pro vozíčkáře i rodiče s kočárky",
"name": "Bezbariérový přístup"
},
{
"description": "Zdarma",
"name": "Internet a Wi-Fi"
},
{
"description": "Hry sportovní, postřehové a dobrodružné.",
"name": "Herní konzole"
}
],
"route_description": "Metrem C – stanice Chodov (výstup k busu směr Lhotka). Dále buď pěšky asi 10 min., nebo jednu zastávku autobusy číslo 154, 197, zastávka Jarníkova a odtud asi 350 m pěšky. Knihovna je v budově Základní školy Campanus, ale má vlastní bezbariérový vchod.",
"sections_and_departments": [
"Oddělení pro děti a mládež",
"Čítárna"
],
"image": {
"url": "https://i.mlp.cz/noRW_photodisplay/31/27303_319edd32c941a2f6bbd6939a9262b8cc.jpg"
}
}
}
]
}
Municipal Library ¶
GET Municipal LibraryGET/municipal-libraries/{library_id}
Example URI
- library_id
string
(required) Example: chodovIdentifier of the library.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.491924,
50.024191
]
},
"properties": {
"id": "chodov",
"name": "Chodov",
"address": "Jírovcovo náměstí 1782/1 Praha 11",
"district": "praha-11",
"opening_hours": [
{
"day": "Pondělí",
"hours": "13:00 - 19:00"
},
{
"day": "Úterý",
"hours": "09:00 - 16:00"
},
{
"day": "Středa",
"hours": "12:00 - 19:00"
},
{
"day": "Čtvrtek",
"hours": "12:00 - 19:00"
},
{
"day": "Pátek",
"hours": "09:00 - 16:00"
}
],
"telephone": "770 130 289",
"email": "knihovna@mlp.cz",
"web": "https://www.mlp.cz/cz/kontakty/pobocky/chodov/",
"office_manager": "Petr Kollár",
"services": [
{
"description": "Bezbariérový přístup pro vozíčkáře i rodiče s kočárky",
"name": "Bezbariérový přístup"
},
{
"description": "Zdarma",
"name": "Internet a Wi-Fi"
},
{
"description": "Hry sportovní, postřehové a dobrodružné.",
"name": "Herní konzole"
}
],
"route_description": "Metrem C – stanice Chodov (výstup k busu směr Lhotka). Dále buď pěšky asi 10 min., nebo jednu zastávku autobusy číslo 154, 197, zastávka Jarníkova a odtud asi 350 m pěšky. Knihovna je v budově Základní školy Campanus, ale má vlastní bezbariérový vchod.",
"sections_and_departments": [
"Oddělení pro děti a mládež",
"Čítárna"
],
"image": {
"url": "https://i.mlp.cz/noRW_photodisplay/31/27303_319edd32c941a2f6bbd6939a9262b8cc.jpg"
}
}
}
404
Air Quality Stations /Weather/ ¶
GET All Air Quality StationsGET/weather/air-quality/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.380116,
50.084385
]
},
"properties": {
"code": "ABREA",
"name": "Praha 6-Břevnov",
"district": "praha-6",
"measurement": {
"components": [
{
"type": "NO2",
"averaged_time": {
"averaged_hours": 1,
"value": 10.7
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 24,
"value": 12.875
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 1,
"value": 21
}
}
],
"AQ_hourly_index": 2
}
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.51745,
50.030172
]
},
"properties": {
"code": "ACHOA",
"name": "Praha 4-Chodov",
"district": "praha-11",
"measurement": {
"components": [
{
"type": "NO2",
"averaged_time": {
"averaged_hours": 1,
"value": 12.1
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 24,
"value": 10.25
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 1,
"value": 16
}
}
],
"AQ_hourly_index": 1
}
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.442049,
50.094238
]
},
"properties": {
"code": "AKALA",
"name": "Praha 8-Karlín",
"district": "praha-8",
"measurement": {
"components": [
{
"type": "NO2",
"averaged_time": {
"averaged_hours": 1,
"value": 25.1
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 24,
"value": 14.792
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 1,
"value": 10
}
}
],
"AQ_hourly_index": 2
}
}
}
]
}
Air Quality Station /Weather/ ¶
GET Air Quality StationGET/weather/air-quality/{station_code}
Example URI
- station_code
string
(required) Example: ABREAIdentifier of the air quality station.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.380116,
50.084385
]
},
"properties": {
"code": "ABREA",
"name": "Praha 6-Břevnov",
"district": "praha-6",
"measurement": {
"components": [
{
"type": "NO2",
"averaged_time": {
"averaged_hours": 1,
"value": 10.7
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 24,
"value": 12.875
}
},
{
"type": "PM10",
"averaged_time": {
"averaged_hours": 1,
"value": 21
}
}
],
"AQ_hourly_index": 2
}
}
}
404
Meteosensors /Weather/ ¶
GET All MeteosensorsGET/weather/meteostations/{?latlng,range,district,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.405042,
50.03993
]
},
"properties": {
"id": 531801,
"name": "1-Barrandov",
"district": "praha-5",
"last_updated": 1501230403000,
"air_temperature": 21.19,
"road_temperature": 31.08,
"humidity": 69.41,
"wind_direction": 170,
"wind_speed": 2.86
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.398088,
50.072468
]
},
"properties": {
"id": 531806,
"name": "6-SAT JIH",
"district": "praha-5",
"last_updated": 1501230505000,
"air_temperature": 21.29,
"road_temperature": 32.74,
"humidity": 65.09,
"wind_direction": 245,
"wind_speed": 2.59
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.304239,
50.09355
]
},
"properties": {
"id": 531811,
"name": "11-Evropská",
"district": "praha-6",
"last_updated": 1501230238000,
"air_temperature": 18.02,
"road_temperature": 29.03,
"humidity": 64.26,
"wind_direction": 281,
"wind_speed": 2.22
}
}
]
}
Meteosensor /Weather/ ¶
GET MeteosensorGET/weather/meteostations/{meteosensor_id}
Example URI
- meteosensor_id
number
(required) Example: 531801Identifier of the meteosensor.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.405042,
50.03993
]
},
"properties": {
"id": 531801,
"name": "1-Barrandov",
"district": "praha-5",
"last_updated": 1501230403000,
"air_temperature": 21.19,
"road_temperature": 31.08,
"humidity": 69.41,
"wind_direction": 170,
"wind_speed": 2.86
}
}
404
Current Forecast /Weather/ ¶
Note: all response parameters are optional.
GET ForecastGET/weather/current-forecast/{?latlng}
Example URI
- latlng
string
(required) Example: 50.124935,14.457204Forecast by location (Latitude and Longitude separated by comma).
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.44,
50.08
]
},
"properties": {
"name": "Žižkov",
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "oblačno",
"icon": "04d"
}
],
"main": {
"temp": 14.64,
"pressure": 1025,
"humidity": 82,
"temp_min": 14,
"temp_max": 15
},
"wind": {
"speed": 4.6,
"deg": 270
},
"clouds": {
"all": 40
},
"dt": 1501237800,
"sunrise": 1501212385,
"sunset": 1501267808
}
}
Medical Institutions ¶
GET All Medical InstitutionsGET/medical-institutions/{?latlng,range,district,type,limit,offset}
Example URI
- latlng
string
(optional) Example: 50.124935,14.457204Sorting by location (Latitude and Longitude separated by comma).
- range
number
(optional) Example: 5000Filter by distance from latlng in meters (range query). Depends on the latlng parameter.
- district
string
(optional) Example: praha-4Filter by Prague city districts (slug) separated by comma. Not used if
latlng
andrange
are set.- type
string
(optional) Example: pharmaciesFilter by group of types of the medical institution.
Choices:
pharmacies
health_care
- limit
number
(optional) Example: 10Limits number of retrieved items. Not used if
latlng
andrange
are set.- offset
number
(optional) Example: 0Number of the first items that are skipped. Not used if
latlng
andrange
are set.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.3578316,
50.089717
]
},
"properties": {
"id": "6995002001-lekarna-na-petrinach",
"name": "Lékárna Na Petřinách",
"type": "Lékárna zásobujicí zařízení ústavní péče",
"district": "praha-6",
"address": "Stamicova 1968, 162 00 Praha 6",
"opening_hours": [
{
"day": "Pondělí",
"hours": "07:30 - 18:00"
},
{
"day": "Úterý",
"hours": "07:30 - 18:00"
},
{
"day": "Středa",
"hours": "07:30 - 18:00"
},
{
"day": "Čtvrtek",
"hours": "07:30 - 18:00"
},
{
"day": "Pátek",
"hours": "07:30 - 18:00"
}
],
"telephone": [
"235 350 089"
],
"email": "lekarna@napetrinach.cz",
"web": "http://www.napetrinach.cz"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.3401836,
50.0731142
]
},
"properties": {
"id": "2526713200064203-fakultni-nemocnice-v-motole",
"name": "Fakultní nemocnice v Motole",
"type": "Fakultní nemocnice",
"district": "praha-5",
"address": "V úvalu 84/1, 150 00 Praha 5",
"opening_hours": [],
"telephone": [
"224431111"
],
"email": "reditelstvi@fnmotol.cz",
"web": "www.fnmotol.cz"
}
}
]
}
Medical Institution ¶
GET Medical InstitutionGET/medical-institutions/{institution_id}
Example URI
- institution_id
string
(required) Example: 2526713200064203-fakultni-nemocnice-v-motoleIdentifier of the medical institution.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.3401836,
50.0731142
]
},
"properties": {
"id": "2526713200064203-fakultni-nemocnice-v-motole",
"name": "Fakultní nemocnice v Motole",
"type": "Fakultní nemocnice",
"district": "praha-5",
"address": "V úvalu 84/1, 150 00 Praha 5",
"opening_hours": [],
"telephone": [
"224431111"
],
"email": "reditelstvi@fnmotol.cz",
"web": "www.fnmotol.cz"
}
}
404
Medical Institutions Types ¶
GET All Medical Institution TypesGET/medical-institutions/types
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"pharmacies": [
"Nemocniční lékárna s odbornými pracovišti",
"Lékárna",
"Lékárna s odbornými pracovišti",
"Výdejna",
"Vojenská lékárna",
"Vojenská lékárna s OOVL",
"Nemocniční lékárna",
"Lékárna s odbornými pracovišti s OOVL",
"Nemocniční lékárna s OOVL",
"Nemocniční lékárna s odbor. pracovišti s OOVL",
"Odloučené oddělení výdeje léčivých přípravků",
"Lékárna s OOVL",
"Lékárna s odborným pracovištěm, která zásobuje lůžková zdravotnická zařízení",
"Lékárna s odborným pracovištěm, která zásobuje lůžková zdravotnická zařízení s OOVL",
"Lékárna zásobujicí zařízení ústavní péče",
"Lékárna zásobujicí zařízení ústavní péče s OOVL"
],
"health_care": [
"Fakultní nemocnice",
"Nemocnice",
"Ostatní ambulantní zařízení",
"Ostatní zdravotnická zařízení",
"Zdravotní záchranná služba",
"Zdravotnické středisko"
]
}
My Prague ¶
Data about news around Prague and other general information for the My Prague application.
Data provider:
-
http://praha.eu/ (xml)
-
internal
News from Prague ¶
GET All NewsGET/news-from-prague/{?limit,offset,types}
Example URI
- limit
number
(optional) Example: 10Limits number of retrieved items.
- offset
number
(optional) Example: 0Number of the first items that are skipped.
- types
string
(optional) Example: news,emergencyFilter by types (One or more types separated by comma).
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": "bistro-na-louzi-v-budove-nove-radnice",
"title": "Bistro Na Louži v budově Nové radnice prochází rekonstrukcí",
"url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/bistro_na_louzi_v_budove_nove_radnice.html",
"type": "news",
"image": {
"caption": "Bistro na pražském magistrátu nově provozuje sociální podnik Startujeme",
"url": "http://oict-endpoint.development.oict.cz/images/news/dk7l_8F2pN7pyjcs.jpg",
"size": 130917,
"mimetype": "image/jpeg"
},
"published": "2017-09-21T00:00:00.000Z",
"perex": "",
"body": "<p>Bistro Na Louži v budově Nové radnice na Mariánském náměstí bude od 7. srpna 2017 z důvodu rekonstrukce uzavřeno. Předpokládaná délka rekonstrukce je zhruba tři měsíce, léto je nejlepší termín, kdy nutné práce udělat. O ukončení rekonstrukce a dalších novinkách budeme prostřednictvím webového portálu hlavního města včas informovat.,</p><p>Za vzniklé komplikace se omlouváme.</p>"
},
{
"id": "centrum-vysocan-se-stane-opravdovym",
"title": "Centrum Vysočan se stane opravdovým náměstím",
"url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/centrum_vysocan_se_stane_opravdovym.html",
"type": "news",
"image": {
"caption": "náměstí OSN ve Vysočanech",
"url": "http://oict-endpoint.development.oict.cz/images/news/dk7l_8F2pN7pyjcs.jpg",
"size": 130917,
"mimetype": "image/jpeg"
},
"published": "2017-09-19T00:00:00.000Z",
"perex": "Radní hl. m. Prahy schválili studii, která povede ke zkvalitnění náměstí OSN ve Vysočanech. Studie z dílny Institutu plánování a rozvoje hl. m. Prahy (IPR) navrhuje nové přechody, chodníky, lavičky nebo stromy. Zastávky MHD budou bezbariérové, nádraží se lépe propojí s MHD. Rekonstrukce by mohla začít v roce 2020.",
"body": "<p><em>„Vysočany se začínají stavebně rozvíjet a nemají žádné centrální náměstí, kde by se místní mohli potkávat. Věřím, že návrhy ve studii napomůžou náměstí oživit a učinit z něj příjemné místo nejen pro místní obyvatele,“</em> říká Petra Kolínská, náměstkyně primátorky a radní pro územní rozvoj.</p><p>Tramvajovou trať v ulici Sokolovská – Kolbenova čeká rekonstrukce. Spolu s tím se promění i přilehlá veřejná prostranství. Dnes není jednoznačné, kde náměstí OSN vlastně končí. Mnozí za náměstí považují zdejší park, jiní plochu dnešní křižovatky, do níž ústí pět ulic: Sokolovská, Freyova, Kolbenova, Pod Pekárnami a Jandova. Přesunutím tramvajové smyčky z křižovatky do ulice Pod Pekárnami se uvolní plocha pro nové náměstí v pravém slova smyslu. Tramvajová smyčka byla v navržené poloze vedena už v předválečném období. Parkování zůstane zachováno, ale přibydou zde předzahrádky, chodníky a stromy.</p><p><em>„Plánované změny by měly usnadnit pohyb chodců i cyklistů. Zároveň by se díky odstranění bariér a zvýšení bezpečnosti měli lidé cítit příjemněji, a o to nám hlavně jde,“</em> vysvětluje Ondřej Boháč, ředitel IPR Praha.</p><p>Podle návrhu by měla také vzniknout nová tramvajová zastávka přímo na náměstí. Přestup mezi tramvajemi, autobusy a metrem tak bude přímý a krátký. Navrhované bezbariérové úpravy, nové přechody a bezpečnostní ostrůvky výrazně zlepší podmínky pro chodce. Jízdní pruhy pro cyklisty na hlavních ulicích a nové přejezdy na hlavních a plánovaných páteřních trasách zase usnadní pohyb cyklistům. Chodníky pokryje nový povrch odpovídající významu lokality, v ulicích pak přibydou lavičky a stromy.</p><p>Projekt nyní přebírá magistrátní Odbor strategických investic. Realizovat se bude v jednotlivých etapách, hlavní stavební práce by mohly začít v roce 2020. Odhadované náklady jsou 370 milionů korun bez DPH.</p><p>Do přípravy studie byla zapojena veřejnost a příslušné instituce a organizace. Více informací na: <a href=\"http://www.iprpraha.cz/namestiosn\">www.iprpraha.cz/namestiosn</a>.</p><p> </p>"
}
]
Detail of News from Prague ¶
GET News DetailGET/news-from-prague/{news_id}
Example URI
- news_id
string
(required) Example: elektrobusy-budou-jezdit-z-palmovky-do-letnanIdentifier of the news.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": "elektrobusy-budou-jezdit-z-palmovky-do-letnan",
"title": "Elektrobusy budou jezdit z Palmovky do Letňan",
"url": "http://www.praha.eu/jnp/cz/o_meste/magistrat/tiskovy_servis/aktuality_z_prahy/elektrobusy_budou_jezdit_z_palmovky_do.html",
"type": "news",
"image": {
"caption": "Ilustrační obrázek: Elektrobus",
"url": "http://oict-endpoint.development.oict.cz/images/news/I4-eBTHPBK86nvNf.jpg",
"size": 595168,
"mimetype": "image/jpeg"
},
"published": "2017-09-18T00:00:00.000Z",
"perex": "Dopravní podnik hl. m. Prahy (DPP) zahájil výstavbu trolejového vedení v Prosecké ulici. Po dokončení bude dráha sloužit pro testování elektrobusů s dynamickým dobíjením. Je to další etapa na cestě k ekologičtější MHD v hlavním městě.",
"body": "DPP již v letech 2015 – 2017 testoval staticky dobíjené elektrobusy v obratišti Želivského. U páteřních linek s velkou přepravní poptávkou cestujících by bylo nutné při použití elektrobusů se statickým nabíjením (pouze při stání v obratištích) prodloužit nabíjecí přestávky. Testování provozu elektrobusů s dynamickým dobíjením však bude pro DPP novinkou. K samotnému dynamickému dobíjení dojde maximálně na 15 % z celkového testovaného úseku. Tento úsek byl vybrán kvůli velmi prudkému kopci, který by jinak mohl bateriím limitovat jejich životnost."
}
404
Other City Mobile and Web Applications ¶
GET All Other City Mobile and Web ApplicationGET/other-applications
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": "na-kole-prahou",
"name": "Na kole Prahou.",
"description": "Nový plánovač tras specializovaný na městkou cyklistiku vám pomůže objevit skvělé trasy do práce, do školy a kamkoliv na kole potřebujete. Jako jediný cykloplánovač na světě vám Na kole Prahou najde i intermodální trasy kombinující jízdu na kole s jízdou vlakem, metrem nebo tramvají.",
"links": [
{
"type": "web",
"url": "https://nakoleprahou.cz/plan.php"
},
{
"type": "android",
"url": "https://play.google.com/store/apps/details?id=com.umotional.ucpraha"
},
{
"type": "ios",
"url": "https://itunes.apple.com/cz/app/na-kole-prahou/id1213867293"
}
],
"image": {
"url": "https://nakoleprahou.cz/img/web_logo.png"
}
},
{
"id": "bezpecnost-praha-eu",
"name": "Bezpečnostní portál Magistrátu hl. m. Prahy",
"description": "",
"links": [
{
"type": "web",
"url": "https://bezpecnost.praha.eu"
}
],
"image": {
"url": "https://bezpecnost.praha.eu/styles/img/logo.svg"
}
}
]
Other City Mobile and Web Application ¶
GET Other City Mobile and Web ApplicationGET/other-applications/{app_id}
Example URI
- app_id
string
(required) Example: na-kole-prahouIdentifier of other city application.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": "na-kole-prahou",
"name": "Na kole Prahou.",
"description": "Nový plánovač tras specializovaný na městkou cyklistiku vám pomůže objevit skvělé trasy do práce, do školy a kamkoliv na kole potřebujete. Jako jediný cykloplánovač na světě vám Na kole Prahou najde i intermodální trasy kombinující jízdu na kole s jízdou vlakem, metrem nebo tramvají.",
"links": [
{
"type": "web",
"url": "https://nakoleprahou.cz/plan.php"
},
{
"type": "android",
"url": "https://play.google.com/store/apps/details?id=com.umotional.ucpraha"
},
{
"type": "ios",
"url": "https://itunes.apple.com/cz/app/na-kole-prahou/id1213867293"
}
],
"image": {
"url": "https://nakoleprahou.cz/img/web_logo.png"
}
}
404
Culture ¶
Data about cultural events around Prague and about theaters with the city’s support.
Data provider:
-
http://praha.eu/ (xml)
-
internal
Cultural Events ¶
GET All Cultural EventsGET/cultural-events/{?limit,offset,types}
Example URI
- limit
number
(optional) Example: 10Limits number of retrieved items.
- offset
number
(optional) Example: 0Number of the first items that are skipped.
- types
string
(optional) Example: tips,othersFilter by types (One or more types separated by comma).
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": "stimul-festival",
"title": "STIMUL festival",
"url": "www.stimul-festival.cz",
"image": {
"caption": "STIMUL festival",
"size": 19483,
"mimetype": "image/jpeg",
"url": "http://oict-endpoint.development.oict.cz/images/cultural_events/IOGhi1BFU3pYOVSh.jpg"
},
"end_date": "2017-10-06T00:00:00.000Z",
"start_date": "2017-10-06T00:00:00.000Z",
"perex": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere nunc sit amet nunc blandit pharetra. Cras sit amet erat ante. Suspendisse potenti.",
"body": "<p>estibulum erat lacus, luctus sit amet enim nec, imperdiet pellentesque nisl. Nunc ut ligula facilisis, egestas urna et, semper felis. </p>",
"where": null,
"price": null,
"type": "tips"
},
{
"id": "dny-bohuslava-martinu-2017",
"title": "Dny Bohuslava Martinů 2017",
"url": "www.martinu.cz",
"image": {
"caption": "Dny Bohuslava Martinů 2017",
"size": 19483,
"mimetype": "image/jpeg",
"url": "http://oict-endpoint.development.oict.cz/images/cultural_events/IOGhi1BFU3pYOVSh.jpg"
},
"end_date": "2017-10-06T00:00:00.000Z",
"start_date": "2017-10-06T00:00:00.000Z",
"perex": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere nunc sit amet nunc blandit pharetra. Cras sit amet erat ante. Suspendisse potenti.",
"body": "<p>estibulum erat lacus, luctus sit amet enim nec, imperdiet pellentesque nisl. Nunc ut ligula facilisis, egestas urna et, semper felis. </p>",
"where": "Lichtenštejnský palác, Sál Martinů",
"price": "zdarma",
"type": "others"
}
]
Cultural Event ¶
GET Cultural EventGET/cultural-events/{event_id}
Example URI
- event_id
string
(required) Example: chilli-festIdentifier of the cultural event.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": "chilli-fest",
"title": "CHILLI FEST",
"url": "http://foodevent.cz/",
"start_date": "2017-09-29T00:00:00.000Z",
"end_date": "2017-09-29T00:00:00.000Z",
"perex": "2.ročník Chilli festu je tady! Nejpálivější festival roku vás zavede do světa těch nejostřejších papriček.",
"body": "V sobotu 30.9. přijďte na Smíchovskou náplavku a ochutnejte chilli pokrmy, nakupte si sazeničky, extrakty nebo sušené chilli a koření. Během festivalu vám představíme také různé druhy papriček. Od klasické maďarské papriky, přes feferonky, Jalapeno, Piri piri, Habanero, Tabasco, Ancho až po nejpálivější chilli na světě – Carolina Reaper. Součástí festivalu bude i trh s pálivými omáčkami, kořením a bylinkami. Připraven je pestrý hudební a doprovodný program. Vyvrcholením Chilli festu bude Soutěž v pojídání chilli papriček!!! Vyzkoušejte, co opravdu vydržíte a zasoutěžte si o zajímavé ceny.",
"image": {
"caption": "chillifest",
"url": "http://oict-endpoint.development.oict.cz/images/cultural_events/6ty3CvbDG4Xuw9Jn.png",
"size": 4607,
"mimetype": "image/png"
},
"where": null,
"price": null,
"type": "tips"
}
404
Full-text search ¶
Full-text search functionality.
Full-Text Search ¶
GET All relevant objects to queryGET/search/{?q,limit,offset}
Example URI
- q
string
(required) Example: kamera+nusleQuery string.
- limit
number
(optional) Example: 25Limits number of retrieved items.
- offset
number
(optional) Example: 0Number of the first items that are skipped.
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"total_count": 6,
"preferred_object_types": [
"TrafficCameras"
],
"results": [
{
"url": "/traffic-cameras/404032",
"name": "5.května",
"object_type": "TrafficCameras",
"score": 2.75
},
{
"url": "/municipal-police-stations/12",
"name": "Táborská 372/36, Nusle, 140 00 Praha-Praha 4, Česko",
"object_type": "PoliceStations",
"score": 1.55
},
{
"url": "/municipal-police-stations/98",
"name": "Jaromírova 455/23, Nusle, 128 00 Praha-Praha 2, Česko",
"object_type": "PoliceStations",
"score": 1.55
},
{
"url": "/waste-collection-yards/36",
"name": "Stabilní sběrna nebezpečných odpadů -Výkup druhotných surovin",
"object_type": "WasteCollectionYards",
"score": 0.6
},
{
"url": "/playgrounds/119",
"name": "Folimanka",
"object_type": "Playgrounds",
"score": 0.55
},
{
"url": "/public-toilets/50",
"name": "5. května 1670, Nusle, 140 00 Praha-Praha 4, Česko",
"object_type": "PublicToilets",
"score": 0.55
}
]
}
For Mobile App Only ¶
Under Construction ¶
Incident Reporting ¶
Report a new IncidentPOST/incident-reports
UNDER CONSTRUCTION
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
Body
{
"description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
"category": "public-space",
"location": {
"address": "Bieblova 23, 150 00 Praha 5, Česko",
"coordinates": [
14.399223,
50.066302
]
},
"image": {
"format": "image/png",
"data": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="
},
"created": "2018-03-23T15:17:05.00Z",
"author": {
"wants_to_be_informed": true,
"first_name": "John",
"last_name": "Doe",
"email": "john@doe.com"
}
}
201
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": 1,
"state": "new",
"description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
"category": "public-space",
"location": {
"address": "Bieblova 23, 150 00 Praha 5, Česko",
"coordinates": [
14.399223,
50.066302
]
},
"image": {
"size": 1948,
"mimetype": "image/png",
"url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
},
"created": "2018-03-23T15:17:05.000Z"
}
Schema
{}
422
Headers
Content-Type: application/json; charset=utf-8
Body
{
"error_code": "422",
"error_message": "Validation failed."
}
GET All Incident ReportsGET/incident-reports
UNDER CONSTRUCTION
Example URI
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.399223,
50.066302
]
},
"properties": {
"id": 1,
"state": "accepted",
"description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
"category": "public-space",
"address": "Bieblova 23, 150 00 Praha 5, Česko",
"image": {
"size": 1948,
"mimetype": "image/png",
"url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
},
"created": "2018-03-23T15:17:05.000Z",
"modified": "2018-03-23T15:35:42.000Z"
}
}
]
}
Schema
{}
Incident Report ¶
GET an Incident ReportGET/incident-reports/{id}
UNDER CONSTRUCTION
Example URI
- id
number
(required) Example: 1
Headers
Content-Type: application/json; charset=utf-8
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
14.399223,
50.066302
]
},
"properties": {
"id": 1,
"state": "accepted",
"description": "Papíry, plasty a plechovky v zeleni u chodníku. Dále by bylo vhodné tento prostor vyčistit od suché trávy.",
"category": "public-space",
"address": "Bieblova 23, 150 00 Praha 5, Česko",
"image": {
"size": 1948,
"mimetype": "image/png",
"url": "http://oict-endpoint.development.oict.cz/images/problemas_and_failures/IOGhi1BFU3pYOVSh.jpg"
},
"created": "2018-03-23T15:17:05.000Z",
"modified": "2018-03-23T15:35:42.000Z"
}
}
Schema
{}
404
Categories of Incidents ¶
GET All CategoriesGET/incident-report-categories
UNDER CONSTRUCTION
Example URI
Headers
x-api-key: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"id": "public-space",
"description": "Veřejný prostor"
},
{
"id": "transport",
"description": "Doprava"
},
{
"id": "greenery",
"description": "Zeleň"
}
]
Schema
{}