Bitcoin Forum
January 23, 2025, 09:27:51 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Meta / Anyone else finds it ironic that THE forum on BTC doesn't integrate tipping? on: January 11, 2015, 09:05:01 PM
Am i missing something here? I'd think bitcointalk would be on the forefront of tipping integration on forums
2  Local / 中文 (Chinese) / Any flowers/cake in mainland china that delivers and accepts bitcoin? on: November 13, 2014, 09:55:15 PM
Hey all,

I have a friend in Shenzhen and her birthday is coming up. Is there any place i can order like a birthday cake and have it delivered and to pay with bitcoins?

Thnx.
3  Bitcoin / Press / [2014-01-24] TigerDirect.com now accepts BTC. Get your GPUs with BTC now on: January 23, 2014, 05:13:34 PM
https://twitter.com/TigerDirect
Our CEO just signed the contract http://www.Tigerdirect.com  is NOW officially accepting #Bitcoins #TigerBitcoin pic.twitter.com/62MNkYKmTD

http://www.tigerdirect.com/bitcoin/



4  Bitcoin / Bitcoin Technical Support / Need help with mtgox api on python3 on: April 04, 2013, 04:39:36 PM
Ok so i'm going crazy trying to write a python3 code to get to gox's api v1
i found few programs but they either didn't work for me or are still doing v0 api. After taking all of the stuff out it came down that even the basic test case fails. Can someone please point out what i'm doing wrong here?
when i execute the following code i get
Code:
e.code -> 403
e.read -> b'{"result":"error","error":"Identification required to access private API","token":"login_error_invalid_rest_key"}'

(API keys are correct and are enabled on gox)

Code:
import time
import urllib.parse
import urllib.request
import base64
import hmac
import hashlib

url = "https://data.mtgox.com/api/1/generic/info"

GOX_secret = "your secret here"
GOX_secret = base64.b64decode((GOX_secret.encode()))
GOX_key = "your keyname here"

params = {"nonce":str(int(time.time()*1000))}
post_data = urllib.parse.urlencode(params)

#ahmac = base64.b64encode(str(hmac.new(base64.b64decode(self.secret),post_data,hashlib.sha512).digest()))
H = hmac.new(GOX_secret, post_data.encode(), hashlib.sha512).digest()
sign = base64.b64encode(H)
header = {"User-Agent": 'myGoxAPI', "Rest-Key": GOX_key, "Rest-Sign": sign}


req = urllib.request.Request(url, post_data, header) #POST

try:
        response = urllib.request.urlopen(req, post_data.encode()) #POST
except urllib.error.HTTPError as e:
        print("e.code ->", e.code)
        print("e.read ->", (e.read()))
        exit(5)

print("It'd be nice to get here")
5  Other / Beginners & Help / python3 mtgox api on: April 04, 2013, 07:11:22 AM
Ok so i'm going crazy trying to write a python3 code to get to gox's api v1
i found few programs but they either didn't work for me or are still doing v0 api  Huh
when i execute the following code i get
Code:
e.code -> 403
e.read -> b'{"result":"error","error":"Identification required to access private API","token":"login_error_invalid_rest_key"}'

(API keys are correct and are enabled on gox) so if someone can tell me where i'm being an idiot i'd greatly appreciate it.

Code:
import time
import urllib.parse
import urllib.request
import base64
import hmac
import hashlib

url = "https://data.mtgox.com/api/1/generic/info"

GOX_secret = "your secret here"
GOX_secret = base64.b64decode((GOX_secret.encode()))
GOX_key = "your keyname here"

params = {"nonce":str(int(time.time()*1000))}
post_data = urllib.parse.urlencode(params)

#ahmac = base64.b64encode(str(hmac.new(base64.b64decode(self.secret),post_data,hashlib.sha512).digest()))
H = hmac.new(GOX_secret, post_data.encode(), hashlib.sha512).digest()
sign = base64.b64encode(H)
header = {"User-Agent": 'myGoxAPI', "Rest-Key": GOX_key, "Rest-Sign": sign}


req = urllib.request.Request(url, post_data, header) #POST

try:
        response = urllib.request.urlopen(req, post_data.encode()) #POST
except urllib.error.HTTPError as e:
        print("e.code ->", e.code)
        print("e.read ->", (e.read()))
        exit(5)

print("It'd be nice to get here")
6  Other / Beginners & Help / OKPAY Verification on: March 28, 2013, 01:55:59 PM
Is it humanly possible to become verified with OKPAY  Huh I'm form US and so far i verified my phone with them by confirming an SMS, send them a scanned color copy of my US drivers license, uploaded two bills from two credit cards, and now a gas AND electric bill. Would a fingerprint and a DNA sample be next?


Verification request SR13030029051
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!