Skip to content
De Afvalwijzer API using AWS API Gateway and AWS Lambda scraping data from the http://mijnafvalwijzer.nl website.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md Create README.md Jun 23, 2017
api.js
config.js
helper.js
index.js
package.json

README.md

Garbage Pickup API

An API using AWS API Gateway and AWS Lambda to scrape data from the http://mijnafvalwijzer.nl website.

The API has two endpoint:

GET /v1/pickups/next

Returns the next pickup date, when type is given the result will be filtered on this type of pickup.

Parameters

  • zipcode
  • number
  • suffix
  • type (optional)

Example response:

{
    type: 'Biodegradable waste',
    date: 2017-01-16
}

GET /v1/pickups/dates

Returns all the pickup dates of the current year. If week is given, the response will be filtered with only the dates for this week.

Parameters

  • zipcode
  • number
  • suffix
  • week (optional)

Example response:

[
    {
        type: 'Biodegradable waste',
        date: 2017-01-16
    },
    {
        type: 'Plastic, Metals and Juiceboxes'
        date: 2017-01-23
    }
You can’t perform that action at this time.