jeff-99 / openkvk Goto Github PK
View Code? Open in Web Editor NEWpython wrapper for the OpenKVK API
License: MIT License
python wrapper for the OpenKVK API
License: MIT License
When executing your code I get an error.
I execute the following code:
from OpenKVK import ApiClient
client = ApiClient()
client.get_by_city('Rotterdam')
Which Results in the following error:
Traceback (most recent call last):
File "/kvk/contacts/tests.py", line 11, in test_get_by_dossier
client.get_by_city('Rotterdam')
File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 291, in get_by_city
return self.do_query(basequery,limit,**kwargs)
File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 219, in do_query
response = self.request(query_buffer[q])
File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 73, in request
request = urlopen(url)
File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib64/python3.6/urllib/request.py", line 1346, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib64/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Can anyone help me to resolve this error?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.