Closed mtorres-ix closed 11 years ago
Can you paste the result of running the code below in your Ruby interpreter? (tip: http://pastebin.com/)
require 'deathbycaptcha'
client = DeathByCaptcha.http_client('YOUR_USERNAME', 'YOUR_PASSWORD') client.config.is_verbose = true puts client.get_user.inspect
I, [2013-07-30T10:16:43.757378 #84634] INFO -- : SEND: user {:username=>"xxxx", :password=>"xxxx"}
I, [2013-07-30T10:16:44.953246 #84634] INFO -- : RECV: 97 {"is_banned": false, "status": 0, "rate": 0.13900000000000001, "balance": 13900.0, "user": 95622}
{"is_banned"=>false, "status"=>0, "rate"=>0.139, "balance"=>13900.0, "user"=>95622}
[Finished in 5.3s]
@mtorres-ix
The result looks good. You actually CAN connect to the API.
Can you paste the code that raised the error?
now is working seems that the api was down
hi there I have a problem with this gem, I cant connect to the api and I have a valid account with positive balance
I'm getting this error:
anyone knows?