/kc-trash-day

Simple website to fetch a Kansas Citian's trash pick-up day based on their current location

Kansas City trash pick-up day

A simple site using vanilla JS to fetch a user's location from the browser, convert that into an address with Geocodeapi, then use Kansas City's open data APIs to fetch a parcel ID and, finally, use the parcel ID to look up their property's trash pick-up day. It then checks for any holidays in the current week and adjust the pick-up day accordingly (i.e., if there is a holiday this week and it occurs before their normal pick-up day, their pick-up day gets shifted one day later). The user's location data is only used for those API calls and is not stored or sent anywhere else.