Recently, the CRAB service has become public. The need to authenticate has beenremoved, making it a whole lot easier to connect.

.. code-block:: python

from crabpy.client import crab_factory

crab = crab_factory()

res = crab.service.ListGemeentenByGewestId(1)

print res

Using the CAPAKEY webservice----------------------------

This service does still require authentication. This requires a valid account from agiv_. Because the authentication also requires some extra WS-Addressing headers, a utility function has been provided to make life easier.

.. code-block:: python

from crabpy.client import capakey_factory, capakey_request

capakey = capakey_factory( user='USER', password='PASSWORD' )

res = capakey_request(capakey, 'ListAdmGemeenten', 1)

print res

Using the CAPAKEY gateway-------------------------

To make life easier and capakey more pythonic, we've also implemented a gatewaythat abstracts some more of the service and provides richer objects as responses.

- Fixed a bug with lazy loading a Perceel's capatype or cashkey. (#8)- Removes duplicates from a list of gemeentes as returned by CRAB. (#10)- Removed loading a Gemeente with an afdeling to speed up certain queries. (#7)- Removed a few unneeded requests in the capakey gateway when working with Gemeente.id or Afdeling.id.- Fixed printing of objects through the __str__ method on python 2.7. (#9)- Adapted examples for python 3 print. (#11)

- Document how to connect to the services through a proxy.- Fix an incomplete release.

0.2.0 (03-12-2013)------------------

- Added a :class:`Gateway <crabpy.gateway.capakey.capakeygateway>` for the Capakey webservice.- Added caching to the Capakey Gateway using `Dogpile <https: bitbucket.org="" zzzeek="" dogpile.cache="">`_- Better test coverage. Ability to skip integration tests.- Added some documentation.- Removed a dependency for resolving UsernameDigestTokens. This in term removed the original suds from the dependency chain.- Due to removing those dependencies, compatibility with Python 3.2 and 3.3 is now present.