Bitcoin Forum
June 16, 2024, 02:23:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Service Announcements / Re: BitcoinWisdom.com - Live Bitcoin/LiteCoin Charts on: March 12, 2014, 02:50:11 AM
I've got a quick question: what api does bitcoinwisdom use for cryptsy?  The public api here https://www.cryptsy.com/pages/api is always a few seconds behind cryptsy itself and bitcoinwisdom.
2  Bitcoin / Project Development / Cryptsy API authentication error on: January 26, 2014, 04:32:19 PM
So I'm having a problem authenticating on the cryptsy api (with python) here's my code:

            req['method'] = method # in this case, method is getinfo
            req['nonce'] = int(time.time())
            post_data = urllib.urlencode(req)
            sign = hmac.new(self.Secret, post_data, hashlib.sha512).hexdigest()
            headers = {
                'Sign': sign,
                'Key': self.APIKey
            }

            try:
                ret = urllib2.urlopen(urllib2.Request('https://www.cryptsy.com/api', post_data, headers))
                jsonRet = json.loads(ret.read())
                return self.post_process(jsonRet)
            except:
                print "server unresponsive"

and it's returning as unsuccessful.  Thank you in advance  Smiley
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!