Support for schedules provided by Recycle Coach, serving several regions and municipalities in the USA
waste_collection_schedule:
sources:
- name: recyclecoach_com
args:
street: 123 road way
city: smithsville
state: ohio
street
(string) (required) Street address, 123 road way
skip punctuation if
abbreviating road type
city
(string) (required) Name of your municipality
state
(string) (required) Name of state, two latter abbreviation of fully spelled
out correctly
If for some reason the above does not get what you want and you want to dig in, go ahead over to the [Recycle Coach Homepage][https://recyclecoach.com/) open up your browser developer tools on network, and watch as you search for your address.
The XHR response you're triggering should have a json blob where you can find your district_id and project_id. If you specify these, the script will skip the lookups and use those directly
district_id
(string) (optional) district_id provided by
https://recyclecoach.com/wp-json/rec/v1/cities
endpoint
project_id
(numeric) (optional) project_id provided by
https://recyclecoach.com/wp-json/rec/v1/cities
endpoint
zone_id
(string) (optional) string built from result set of
https://api-city.recyclecoach.com/zone-setup/address
endpoint
As an example: Main St, Port Dover, Norfolk County, Ontario, Canada
waste_collection_schedule:
sources:
- name: recyclecoach_com
args:
district_id: "OLYMP",
project_id: 3107,
zone_id: "zone-z11266-z16205-z16208-z16218"