Skip to content

Instantly share code, notes, and snippets.

@alper
Created October 2, 2012 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alper/3823335 to your computer and use it in GitHub Desktop.
Save alper/3823335 to your computer and use it in GitHub Desktop.
get law
#
from suds.client import Client
from suds.xsd.doctor import ImportDoctor, Import
wsdlURL = 'http://wetten.overheid.nl/BWBIdService/BWBIdService.wsdl'
imp = Import('http://schemas.xmlsoap.org/soap/encoding/')
doctor = ImportDoctor(imp)
client = Client(wsdlURL, doctor=doctor)
print client
result = client.service.searchByBWBId("BWBR0001824")
print result
@alper
Copy link
Author

alper commented Oct 2, 2012

Wacht, ik heb al een andere API gevonden die doet wat ik wil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment