Skip to content

lockwooddev/od2kproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Data Tweede Kamer Proxy

To use the Tweede Kamer Open Data API, you need to whitelist your IP on Open Data Portaal. Only the white listed IP is able to access the API. This proxy helps developers to access the API rom anywhere through their whitelisted IP.

Usage

  1. Add a settings.json to the same directory as your executable with the following settings:
{
    "http_timeout": 30,
    "http_port": "80",
    "username": "email",
    "password": "password"
}
  1. Compile for your specific platform. Linux AMD64 and OSX are included in the makefile.
make osx
make linux64
  1. Run the executable
./build/od2kproxy

Installing:

Dependencies are installed using Glide.

glide init
make install or glide up

Tests

make tests

References

Open Data Tweedekamer API documentation

About

A proxy for the opendata.tweedekamer.nl API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published