barnumbirr / darkcoin-api Goto Github PK
View Code? Open in Web Editor NEWPython API for the Darkcoin cryptocurrency.
Home Page: http://mrsmn.github.io/darkcoin-api/
License: Other
Python API for the Darkcoin cryptocurrency.
Home Page: http://mrsmn.github.io/darkcoin-api/
License: Other
import darkcoin
immediately leads to
Traceback (most recent call last):
File "C:/Python27/Scripts/test.py", line 1, in <module>
import darkcoin
File "C:\Python27\lib\site-packages\darkcoin\__init__.py", line 17, in <module>
import darkcoin_utils
File "C:\Python27\lib\site-packages\darkcoin\darkcoin_utils.py", line 21, in <module>
ssl = ctypes.cdll.LoadLibrary (ctypes.util.find_library ('ssl') or 'libeay32')
File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
I note that the dlopen appears to be in the source file C:\Python27\Lib\ctypes__init_ which apparently is not compiled into the binary by default into the binary that I dl. So do I have to build from source in order to get this ... or is their some other readily available mechanism?
======================================================================
ERROR: test_addressbalance (__main__.darkcointestsuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/workspace/darkcoin-api/tests/darkcoin_tests.py", line 37, in test_addressbalance
darkcoin.addressbalance('n194KCwPQJjti53z9gN6wh9wUChfVePEab')
File "/usr/local/lib/python2.7/dist-packages/darkcoin/darkcoin_api.py", line 66, in addressbalance
d = urllib2.urlopen(blockexplorer('addressbalance') + '/' + str(PARAMETER))
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 407, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 445, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
Will have to implement Browser headers as was done for http://api.cryptocoincharts.info/
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.