Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P+R Free Spaces – Warsaw

A simple static web app that fetches Park & Ride availability from the City of Warsaw API and shows free spaces for each parking location.

Setup

  • Copy config.example.js to config.js and put your API key there:

    // config.js
    window.WARSAW_API_KEY = "YOUR_API_KEY";
  • Open index.html in a browser. The app fetches data on load.

Files

  • index.html – main page
  • styles.css – minimal styling
  • app.js – fetch + render logic
  • config.example.js – template for API key
  • config.js – your local API key (ignored by git)

Notes

  • The API endpoint used: https://api.um.warszawa.pl/api/action/parking_get_list/?apikey=...
  • If CORS is restricted by the API, you may need to open via a simple local server (to avoid file:// issues) or use a proxy. A quick local server:
    • Python 3: python -m http.server 5173
    • Node: npx http-server -p 5173

Open http://localhost:5173/ and verify data loads.

About

Simple web application for checking free parking spaces in Warsaw's public parking system.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages