Package: chicagorequests
Chicago RequestsBulk downloader for 311 Requests from the Chicago Open311 API.To install:> pip install chicagorequestsTo useToday's RequestsTo download today's requests, run:> chicagorequestsThe program will output the requests as line-delimited json. To turn this into a
standard json file, you can use a program likejq.> chicagorequests | jq -s '.'Date Range RequestTo download all requests within a time span:> chicagorequests --start-date=2021-01-01 --end-date=2021-01-14Limit to specific request typesTo download grafitti removal requests made today:> chicagorequests -t graffiti_removalYou can specify more than one type of request> chicagorequests -t graffiti_removal -t potholeTo get help> chicagorequests --helpUsage: chicagorequests [OPTIONS]Download service requests from the Chicago Open311 API. By default, today'srequests of all types. Will write service requests as line-delimited JSON tostdout.Options:-s, --start-date [%Y-%m-%d]  the first day of the time range to check-e, --end-date [%Y-%m-%d]    the last day of the time range to check-t, --request-type TEXT      service types to fetch-v, --verbose                verbosity level--list-request-types         list valid request types--help                       Show this message and exit.To see all request types:> chicagorequests --list-request-typestype                             definition-------------------------------  ----------------------------------------abandoned_vehicle                Abandoned Vehicle Complaintaffordable_rental_housing_list   Affordable Rental Housing Listair_conditioning_violation       Air Cond./Refrigeration Violationair_pollution                    Air Pollution, Odor or Dust Complaintalley_grading                    Alley Grading-Unimprovedalley_light_out                  Alley Light Out Complaintalley_pothole                    Alley Pothole Complaintalley_sewer                      Alley Sewer Inspection Requestanimal_abandoned                 Animal Abandonedanimal_business                  Animal Business Complaintanimal_fighiting                 Animal Fighting Suspicionanimal_trap                      Animal In Trap Complaintasbestos                         Asbestos Complaintbees_wasps                       Bee/Wasp Removalbicycle_request                  Bicycle Request/Complaintbike_lane_post                   Bike Lane Post Repairblack_garbage_cart_removal       Black Garbage Cart Removalblue_recycling_cart              Blue Recycling Cartboard_of_education               Board of Educationbridges                          Bridges and Viaducts (All Types)public_facility                  Building Public Facility Violationboiler                           Buildings - Boiler Violationelectrical                       Buildings - Electrical Violationelevator                         Buildings - Elevator Violationfurnace                          Buildings - Furnace Violationplumbing                         Buildings - Plumbing Violationbulk_pickup                      Bulk Pickupvintage_home                     Bungalow/Vintage Home InformationRequestbusiness_complaint               Business Complaintscdot_constrcution                CDOT Construction Complaintscdot_electrical                  CDOT Electrical Operations ConstructionComplaintscha                              CHA Miscellaneoustaxi                             Cab Feedbackcable_cut                        Cable Cutcable_tv                         Cable TV Complaintcheck_for_leak                   Check for Leakcity_clerk_feedback              City Clerk Feedback Requestcity_electrical_vault            City Electrical Vaultcity_vehicle_sticker_violation   City Vehicle Sticker Violationvacant_lot                       Clean Vacant Lot Requestgreen_program                    Clean and Green Program Requestfire_safety                      Commercial Fire Safety InspectionRequestcity_vehicle_condition           Condition of City Vehicleconstruction_complaint           Construction & Demolition Complaintconsumer_fraud                   Consumer Fraud Complaintconsumer_business                Consumer Retail Business Complaintcoyote                           Coyote Interaction Complaintcrisis_referral                  Crisis Referraldaycare_center                   Daycare Centerdead_animal_pickup               Dead Animal Pick-Up Requestdead_bird                        Dead Birddisabled_parking                 Disabled Parkingdivvy_bike_parking               Divvy Bike Parking Complaintescooter_parking                 E-Scooter Parking Complaintelectrical_sign_inspection       Electrical Sign Inspectionequipment_noise                  Equipment Noise Complaintfire_assistance                  Fire Assistancefire_miscellaneous               Fire Miscellaneousflooded_viaduct                  Flooded Viaductfly_dump_tires                   Fly Dump (Tires)fly_dumping                      Fly Dumping Complaintfurniture_repair_cta             Furniture Repair - CTAgarbage_cart_maintenance         Garbage Cart Maintenancegas_station                      Gas Station and Storage Tank Complaintgraffiti_removal                 Graffiti Removal Requestgroceries                        Groceriesguardrail_maintenance            Guardrail and Roadside ProtectionMaintenancegym_shoe_electrical_wire         Gym Shoe/Object On Electrical Wirehealth_club                      Health Clubhome_buyer_program_info          Home Buyer Program Info Requesthomeless_prevention              Homeless Preventionhotel_motel_health_dept          Hotel/Motel - Health Departmenthousing_inquiries                Housing Inquirieshow_is_my_driving                How's my driving?hydrant_cap_missing              Hydrant Cap Missinghydrant_check                    Hydrant Checkice_snow_removal                 Ice and Snow Removal Requestillegal_dumping                  Illegal Dumpingin_ground_pedestrian_crossing    In-Ground Pedestrian Crossing SignRepairinaccurate_fuel_pump             Inaccurate Fuel Pump Complaintinaccurate_retail_scales         Inaccurate Retail Scales Complaintinspect_public_way               Inspect Public Way Requestlandscape_median_maintenance     Landscape Median Maintenancelead_inspection                  Lead Inspection Requestlicensed_pharmaceutical_rep      Licensed Pharmaceutical RepresentativeComplaintliquor_establishment             Liquor Establishment Complaintlocate_service_bbox              Locate/ID Main/Service/BBox/Meter Vaultlow_water_pressure               Low Water Pressure Complaintmidway_customer_service          Midway Customer Servicemidway_facilities                Midway Facilities Complaintmissed_garbage_pickup            Missed Garbage Pick-Up Complaintmissing_lid_grate_cover          Missing Lid/Grate/Covermobile_food_vehicle              Mobile Food Vehiclemosquito_spraying_inquiries      Mosquito Spraying Inquiries (FormerlyWest Nile Virus)construction_rodent_inspection   New Excavation or Construction RodentSiting Inspectionno_air_conditioning              No Air Conditioningno_building_permit               No Building Permit and ConstructionViolationno_solicitation                  No Solicitation Complaintno_vehicle_idling                No Vehicle Idling (Diesel)no_water                         No Water Complaintnuisance_animal                  Nuisance Animal Complaintohare_customer_service           O'Hare Customer Serviceohare_facilities                 O'Hare Facilities Complaintopen_fire_hydrant                Open Fire Hydrant Complaintoutdated_merchandise             Outdated Merchandise Complaintpaid_sick_leave                  Paid Sick Leave Violationpark_repair_maintenance          Park Repair/Maintenancepark_rodent_abatement            Park Rodent Abatementpavement_buckle_repair           Pavement Buckle Repairpet_wellness_check               Pet Wellness Check Requestpolice_misc                      Police Miscellaneousporch_inspection                 Porch Inspection Requestpothole                          Pothole in Street Complaintbike_lane_debris_removal         Protected Bike Lane - Debris Removalpublic_vehicle                   Public Vehicle/Valet Complaintpushcart_food_vendor             Pushcart Food Vendor Complaintrecycling_inspection             Recycling Inspection Requestrecycling_pickup                 Recycling Pick Upred_light_camera                 Red Light Camerarelocated_vehicle                Relocated Vehiclerelocation                       Relocation Requestrenters_foreclosure              Renters and Foreclosure Complaintinjured_animal_report            Report an Injured Animalwater_shut_off_occupied          Request Water Shut-Off Occupied Buildingwater_shut_off_vacant            Request Water Shut-off Vacant Buildingfire_hydrant_custodian           Request to Install Custodian on FireHydrantrestaurant                       Restaurant Complaintridesharing                      Ridesharing Complaintrats                             Rodent Baiting/Rat Complaintsanitation_code_violation        Sanitation Code Violationsanitation_tire_pickup           Sanitation Tire Pickupsewer_cave_in_inspection         Sewer Cave-In Inspection Requestsewer_cleaning_inspection        Sewer Cleaning Inspection Requestsewer_outfall_investigation      Sewer Outfall Investigationshared_cost_sidewalk             Shared Cost Sidewalk Program Requestvacation_rental                  Shared Housing/Vacation Rental Complaintshelter                          Shelter Requestsidewalk_cafe                    Sidewalk Cafe Complaintsidewalk_inspection              Sidewalk Inspection Requestsign_loading_standing_zone       Sign - Loading or Standing Zone (NewInstallation, Amendment, Removal)sign_repair_base_bolt_removal    Sign Repair -  Base / Bolt Removalsign_repair_all_other_signs      Sign Repair Request - All Other Signssign_repair_do_not_enter         Sign Repair Request - Do Not Enter Signsign_repair_one_way              Sign Repair Request - One Way Signsign_repair_residential_parking  Sign Repair Request - Residential PermitParkingsign_repair_stop                 Sign Repair Request - Stop Signramps_and_repairs_for_seniors    Small Accessible Repairs and Ramps forSeniorssmokeless_tobacco                Smokeless Tobacco at Sports EventComplaintsmoking_food_establishment       Smoking: Food Establishmentsmoking_non_food_establishment   Smoking: Non-Food Establishmentsnow_object_dibs_removal         Snow - Object/Dibs Removal Requestsnow_protected_bike_lane         Snow Removal - Protected Bike Lane orBridge Sidewalksnow_uncleared_sidewalk          Snow – Uncleared Sidewalk Complaintspeed_camera                     Speed Cameraspeed_hump_repair                Speed Hump Repairspills_or_dumping                Spills or Dumping in Natural Water Waysstray_animal                     Stray Animal Complaintstreet_cleaning                  Street Cleaning Requeststreet_light_on_during_day       Street Light On During Day Complaintstreet_light_out                 Street Light Out Complaintstreet_light_pole_damage         Street Light Pole Damage Complaintstreet_light_pole_door_missing   Street Light Pole Door Missing Complaintstreet_paint_marking             Street Paint Marking Maintenanceswimming_pool_insp               Swimming Pool Insptanning_and_body_art             Tanning and Body Art Complainttobacco_general                  Tobacco - General Complainttobacco_sale_to_minors           Tobacco - Sale to Minors Complainttoxic_hazardous_materials        Toxic and Hazardous Materialstraffic_calming_devices          Traffic Calming Devices – Existingtraffic_signal_out               Traffic Signal Out Complainttraffic_signal_timing            Traffic Signal Timingtrap_pickup                      Trap Pick-Uptree_debris_cleanup              Tree Debris Clean-Up Requesttree_emergency                   Tree Emergencytree_planting                    Tree Planting Requesttree_removal                     Tree Removal Requesttree_trim                        Tree Trim Requestunwanted_animal                  Unwanted Animalvacant_abandoned_building        Vacant/Abandoned Building Complaintventilation_violation            Ventilation Violationviaduct_light_out                Viaduct Light Out Complaintvicious_animal                   Vicious Animal Complaintvolunteer_network                Volunteer Networkwage_complaint                   Wage Complaintwater_on_street                  Water On Street Complaintwater_in_basement                Water in Basement Complaintweed_removal                     Weed Removal Requestwildlife_in_home                 Wildlife Assistance in Living Quarterswire_basket                      Wire Basket Requestwire_down                        Wire Downyard_waste                       Yard Waste Pick-Up Request