SYNOPSIS

package WebService::OverheidIO::Foo;
use Moose;
extends 'WebService::OverheidIO';

# You must implement the following builders:
# _build_type
# _build_fieldnames
# _build_queryfields

DESCRIPTION

Overheid.IO is a open data initiative to expose data the Dutch government exposes via a JSON API. This is a Perl implemenation for talking to that JSON API.

ATTRIBUTES

ua

An LWP::UserAgent object

base_uri

The base URI of the Overheid.IO, lazy loaded.

max_query_size

The max query size, defaults to 30.

key

The required Overheid.IO API key.

type

The type of Overheid.IO api

fieldnames

The names of the fields which the Overheid.IO will respond with

queryfields

The names of the fields which will be used to query on

METHODS

Search OverheidIO by a search term, you can apply additional filters for zipcodes and such

$overheidio->search(
    "Mintlab",
    filter => {
        postcode => '1051JL',
    }
);

SEE ALSO