Note: This source now uses an unofficial server to get the data. The official server is no longer available as they use scraping protection now.
Support for schedules provided by City of Oklahoma City, serving City of Oklahoma City.
waste_collection_schedule:
sources:
- name: okc_gov
args:
objectID: UNIQUE_PROPERTY_IDENTIFIER
objectID
(string) (required)
try_offical
(boolean) (optional|DEFAULT=False)
If set to True
, the official server will be used. This probably won't work as they use scraping protection now.
waste_collection_schedule:
sources:
- name: okc_gov
args:
objectID: "1781151"
Using a browser, go to data.okc.gov.
Click on the Map
tab, search for your address, then click on your house. Your schedule will be displayed.
Click on the Table
tab, then click on the Filter By Map
menu item, and click Apply
to reduce the number of items being displayed. Note: In the previous step, the more you zoom in on your house, the better this filter works.
Find your address in the filtered list and make a note of the Object ID
number in the first column. This is the number you need to use.