Open Manu1400 opened 3 years ago
(Lot 8A
=> don't having real-time data)
https://parkingavailability.uncc.edu/decks/stream => stream
=>
data:[{"lotCode":"ADM","name":"Admissions Lot","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=PLdbs&ctr=35.300808195530614,-80.73386416928292&z=21&blnd=t,cc-parking,cc-amenities&vis=t,park&pop=1E07FBB6-A466-4C44-838C-EEA74C6DB1A6","percentAvailable":0.71999997},{"lotCode":"CD FS","name":"Cone Deck Faculty/Staff","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.304664368345065,-80.73419672082048&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C9214C5D-D52E-4BB5-91BC-E7B73C869F71","percentAvailable":0.94},{"lotCode":"CD VS","name":"Cone Deck Visitor","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.304664368345065,-80.73419672082048&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C9214C5D-D52E-4BB5-91BC-E7B73C869F71","percentAvailable":0.95},{"lotCode":"CRI","name":"CRI Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30916400000002,-80.743405&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=1202D6D9-1258-4FD3-A9F3-822D536D6F82","percentAvailable":0.97999996},{"lotCode":"ED1","name":"East Deck 1","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30477900000001,-80.72752400000002&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C1B9C7A8-629B-4C2C-96AC-2D50BBCB6614","percentAvailable":0.95},{"lotCode":"ED2/3","name":"East Deck 2/3","style":null,"mapLink":null,"percentAvailable":0.94},{"lotCode":"NORTH","name":"North Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.31348199999999,-80.73148200000003&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-rcfs&vis=f,trans-lrs&pop=B5239156-635A-4CF0-A096-60A9A7E1EE06","percentAvailable":0.96},{"lotCode":"SOUTH","name":"South Village Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.300598000000015,-80.73616600000003&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-rfs&vis=f,trans-lrs&pop=1EE118F8-7653-4289-BFCF-AEA27F0EFCDE","percentAvailable":0.96},{"lotCode":"UDL","name":"Union Deck Lower","style":null,"mapLink":null,"percentAvailable":0.95},{"lotCode":"UDU","name":"Union Deck Upper","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30917500000001,-80.73519899999997&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=7A45A2E5-2FB5-4FA3-BE29-CD5973B7A89C","percentAvailable":0.96999997},{"lotCode":"WEST","name":"West Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30548700000001,-80.73660899999999&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=8596383F-B2F1-4E1F-9B02-5F1AF71E88C2","percentAvailable":0.96}]
or just prefer (a valid) JSON : 👍
https://parkingavailability.uncc.edu/decks/
[{"lotCode":"ADM","name":"Admissions Lot","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=PLdbs&ctr=35.300808195530614,-80.73386416928292&z=21&blnd=t,cc-parking,cc-amenities&vis=t,park&pop=1E07FBB6-A466-4C44-838C-EEA74C6DB1A6","percentAvailable":0.71999997},{"lotCode":"CD FS","name":"Cone Deck Faculty/Staff","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.304664368345065,-80.73419672082048&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C9214C5D-D52E-4BB5-91BC-E7B73C869F71","percentAvailable":0.94},{"lotCode":"CD VS","name":"Cone Deck Visitor","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.304664368345065,-80.73419672082048&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C9214C5D-D52E-4BB5-91BC-E7B73C869F71","percentAvailable":0.95},{"lotCode":"CRI","name":"CRI Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30916400000002,-80.743405&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=1202D6D9-1258-4FD3-A9F3-822D536D6F82","percentAvailable":0.97999996},{"lotCode":"ED1","name":"East Deck 1","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30477900000001,-80.72752400000002&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C1B9C7A8-629B-4C2C-96AC-2D50BBCB6614","percentAvailable":0.95},{"lotCode":"ED2/3","name":"East Deck 2/3","style":null,"mapLink":null,"percentAvailable":0.94},{"lotCode":"NORTH","name":"North Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.31348199999999,-80.73148200000003&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-rcfs&vis=f,trans-lrs&pop=B5239156-635A-4CF0-A096-60A9A7E1EE06","percentAvailable":0.96},{"lotCode":"SOUTH","name":"South Village Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.300598000000015,-80.73616600000003&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-rfs&vis=f,trans-lrs&pop=1EE118F8-7653-4289-BFCF-AEA27F0EFCDE","percentAvailable":0.96},{"lotCode":"UDL","name":"Union Deck Lower","style":null,"mapLink":null,"percentAvailable":0.95},{"lotCode":"UDU","name":"Union Deck Upper","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30917500000001,-80.73519899999997&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=7A45A2E5-2FB5-4FA3-BE29-CD5973B7A89C","percentAvailable":0.96999997},{"lotCode":"WEST","name":"West Deck","style":null,"mapLink":"https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.30548700000001,-80.73660899999999&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-cfs&vis=f,trans-lrs&pop=8596383F-B2F1-4E1F-9B02-5F1AF71E88C2","percentAvailable":0.96}]
⚠️ "name":"East Deck 2/3","mapLink":null
=> don't have a link to the map
East Deck 2/3
94%
vs. in map :
"building-code":"1004","building-name":"East Deck 2","total-spaces":"539","ada-van":"0","ada-car":"28"
=> 94.8051948051948 %
"building-code":"1006","building-name":"East Deck 3","total-spaces":"803","ada-van":"16","ada-car":"0"
=> 98.00747198007472% (but displayed "94%" because used "percentAvailable" value from stream)
HTML : https://parkingavailability.uncc.edu/ (from https://pats.uncc.edu/parking/parking-overview )
https://en.wikipedia.org/wiki/University_of_North_Carolina_at_Charlotte
A parking (in map) : https://maps.uncc.edu/#/?nav=pLdbs&ctr=35.304664368345065,-80.73419672082048&z=19&blnd=t,cc-parking,cc-amenities,outage&vis=t,park-fs&vis=f,trans-lrs&pop=C9214C5D-D52E-4BB5-91BC-E7B73C869F71
=> GET https://maps.uncc.edu/webtier?bl_id=1003 => JSON