sibblegp / coinbase_python Goto Github PK
View Code? Open in Web Editor NEWUnofficial Coinbase Python Library
Unofficial Coinbase Python Library
Hi,
I just discovered that this module isn't comptabile with python3:
Python 3.4.1 (default, May 19 2014, 17:23:49)
Type "copyright", "credits" or "license" for more information.
IPython 2.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import coinbase
File "/usr/lib/python3.4/site-packages/coinbase/__init__.py", line 108
print "Your api_key must be a string"
^
SyntaxError: invalid syntax
The fix to that line is obviously trivial, but I didn't investigate further compatability. Are there plans to make it work in python3?
small question as in the title
Due to an issue with the Coinbase API today, we started getting 401s- but the client doesn't wrap them, so it just reported a JSON decode error.
Not sure if this is new or intermittent but account.sell_price (which hits /api/v1/prices/sell?qty=1) is throwing an empty Exception because Coinbase is returning:
{u'errors': [u"You don't have that many bitcoins in your account to sell."], u'success': False}
"URLs including the GET data are often logged by the webserver, whereas POST data seldom is". -- http://stackoverflow.com/a/4751294/1445812
This might pose a security risk since the logs are often not submitted to the same security measures the API_Keys should be.
pip install coinbase
will install the official API wrapper instead of this library.
After doing this
client.transfer_money(scopedWallet,to=secondaryWallet,amount='2',currency='UNI')
iam getting this error coinbase.wallet.error.APIError: APIError(id=):
nothing nowhere about this
what am doing wrong
help :)
http = httplib2.Http(ca_certs='/etc/ssl/certs/ca-certificates.crt')
that line in particular,
i think is giving me this error:
SSLError: [Errno 185090057] _ssl.c:340: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
im on os x so i had to create that above directory because that is a linux way of doing things.
im stuck on how to get this going in os x.
We swichted back to our old digicert cert. Sorry for the inconvenience!
coinbase/coinbase-ruby@082d6b1
We also created a developer mailing list to receive updates: http://eepurl.com/zYJNT
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.