Created
October 2, 2012 21:11
-
-
Save alper/3823335 to your computer and use it in GitHub Desktop.
get law
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wacht, ik heb al een andere API gevonden die doet wat ik wil.