The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::OverheidIO - A (semi) abstract class that implements logic to talk to Overheid.IO

VERSION

version 1.2

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

WebService::OverheidIO::KvK

Chamber of commerce data

WebService::OverheidIO::BAG

BAG stands for Basis Administratie Gebouwen. This is basicly a huge address table.

AUTHOR

Wesley Schwengle <wesley@mintlab.nl>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Mintlab BV.

This is free software, licensed under:

  The European Union Public License (EUPL) v1.1