Bitcoin Forum
June 27, 2024, 06:10:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 [256] 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 ... 405 »
5101  Other / Off-topic / Need help starting with MtGox API on: February 12, 2012, 08:57:09 AM
Alright, so I am trying to utilize the MtGox API.  JSON still confounds me, so that's what I am having trouble with.

If I use the first block of code posted on the wiki page, I end up with this as output:

Code:
array(8) { ["Login"]=> string(8) "MYLOGIN" ["Index"]=> string(4) "6532" ["Rights"]=> array(2) { [0]=> string(8) "get_info" [1]=> string(5) "trade" } ["Language"]=> string(5) "en_US" ["Created"]=> string(19) "2011-04-29 21:51:06" ["Last_Login"]=> string(19) "2012-02-12 06:23:55" ["Wallets"]=> array(2) { ["BTC"]=> array(5) { ["Balance"]=> array(4) { ["value"]=> string(10) "0.98988000" ["value_int"]=> string(8) "98988000" ["display"]=> string(15) "0.98988000Â BTC" ["currency"]=> string(3) "BTC" } ["Operations"]=> int(137) ["Daily_Withdraw_Limit"]=> array(4) { ["value"]=> string(12) "400.00000000" ["value_int"]=> string(11) "40000000000" ["display"]=> string(17) "400.00000000Â BTC" ["currency"]=> string(3) "BTC" } ["Monthly_Withdraw_Limit"]=> NULL ["Max_Withdraw"]=> array(4) { ["value"]=> string(12) "400.00000000" ["value_int"]=> string(11) "40000000000" ["display"]=> string(17) "400.00000000Â BTC" ["currency"]=> string(3) "BTC" } } ["USD"]=> array(5) { ["Balance"]=> array(4) { ["value"]=> string(7) "0.06833" ["value_int"]=> string(4) "6833" ["display"]=> string(8) "$0.06833" ["currency"]=> string(3) "USD" } ["Operations"]=> int(167) ["Daily_Withdraw_Limit"]=> array(4) { ["value"]=> string(10) "1000.00000" ["value_int"]=> string(9) "100000000" ["display"]=> string(12) "$1,000.00000" ["currency"]=> string(3) "USD" } ["Monthly_Withdraw_Limit"]=> array(4) { ["value"]=> string(11) "10000.00000" ["value_int"]=> string(10) "1000000000" ["display"]=> string(13) "$10,000.00000" ["currency"]=> string(3) "USD" } ["Max_Withdraw"]=> array(4) { ["value"]=> string(10) "1000.00000" ["value_int"]=> string(9) "100000000" ["display"]=> string(12) "$1,000.00000" ["currency"]=> string(3) "USD" } } } ["Trade_Fee"]=> float(0.55) } array(2) { ["usds"]=> string(7) "0.06833" ["btcs"]=> string(7) "0.98988" }

But as I understand the json_decode method, it should look something formatted more like this:
Code:
array(5) {
    ["a"] => int(1)
    ["b"] => int(2)
    ["c"] => int(3)
    ["d"] => int(4)
    ["e"] => int(5)
}

So, two questions.
1)  Why isn't the output pretty/readable?
2)  If I wanted to grab a specific variable from that JSON output, what would the syntax look like?  Say, if I wanted to store my current BTC balance in a variable, what would the code look like?
5102  Economy / Trading Discussion / Re: List of bots? on: February 12, 2012, 07:50:20 AM
Is there some sort of basic framework someone has that I could start with?  The only programming language I REALLY know is PHP, and that doesn't seem real optimal for real-time trading.
5103  Bitcoin / Project Development / Re: A Development Thread for a Game funded With Bitcoin on: February 12, 2012, 06:40:57 AM
Well... I don't get it at all.   Grin  But I think it's awesome you're developing a game for Bitcoin!

5104  Economy / Economics / Re: New Anti-Money Laundering Rules Apply to Gift Cards on: February 12, 2012, 06:37:53 AM
Looks like we're good for transactions of $2000 or less.
And there you have it.

Want to send large sums of money through Bitcoin while avoiding IRS tracking?  Just gather X/2000 of addresses from the receiver (where X equals total $ worth of Bitcoins sent), and use sendmany to split up the total BTC.  Wink
5105  Bitcoin / Project Development / Re: A Development Thread for a Game funded With Bitcoin on: February 12, 2012, 06:35:25 AM
Screenshots?
5106  Economy / Goods / Re: [WTS]: Steam Games! (nothingsteamed.com) [Update: ALL Payments refunded] on: February 12, 2012, 12:04:09 AM
NothinG, you have some folks waiting to hear from you on the other forum as well.
http://bitcoinforums.net/threads/gifted-steam-games-nothings-gifted.252/page-3#post-2697
5107  Economy / Trading Discussion / List of bots? on: February 11, 2012, 07:57:22 AM
Is there a list of all bots created for Bitcoin somewhere?  I am looking to see if there are any that fit the strategy I want to try...  But bottom line is, I want to look at all of them that are out there.
5108  Economy / Currency exchange / Re: Change your bitcoins into gift cards, PayPal or Amazon Payments on: February 11, 2012, 07:39:24 AM
What's the fees for Paypal?  Just the $0.30 + 2.9%?
5109  Bitcoin / Bitcoin Discussion / Re: Win 100 BTC by becoming the first Satoshi Superstar! on: February 11, 2012, 07:31:26 AM
Earlier in this thread it was said, TWICE, that only judge's votes will count. Anyone else sending in satoshis will be throwing their money away.
I think that was just in the final round though... anyone can vote in earlier rounds.
5110  Bitcoin / Bitcoin Discussion / Re: Win 100 BTC by becoming the first Satoshi Superstar! on: February 11, 2012, 05:37:36 AM
I was really excited about this since I could use 100 btc but if I understand the rules correctly this is the dumbest contest I've ever heard of. Basically you are giving the person with the most btc 100 more btc. Due to bitcoins nature a rich person could generate hundreds of addresses and vote for themself and it would look like different people.
You're sending Satoshi's - a poor person could do it too.  Wink

Also, the judges balance things out with their own votes (which are worth much more than the "normal" person's vote).

so basically there's just an illusion of community involvment?
*sigh*

It's BOTH.  I don't know what the weighting is, but people from the community vote, and the judges vote as well.  Edd'll have to chime in with how much both types of votes matter though.

I agree! The more we know, the better we can game the system. I've just set up my auto-satoshier. The more info I have, the better I can program it.

The question is, who will auto-satoshi the most?
5111  Bitcoin / Bitcoin Discussion / Re: Win 100 BTC by becoming the first Satoshi Superstar! on: February 11, 2012, 05:21:52 AM
I was really excited about this since I could use 100 btc but if I understand the rules correctly this is the dumbest contest I've ever heard of. Basically you are giving the person with the most btc 100 more btc. Due to bitcoins nature a rich person could generate hundreds of addresses and vote for themself and it would look like different people.
You're sending Satoshi's - a poor person could do it too.  Wink

Also, the judges balance things out with their own votes (which are worth much more than the "normal" person's vote).

so basically there's just an illusion of community involvment?
*sigh*

It's BOTH.  I don't know what the weighting is, but people from the community vote, and the judges vote as well.  Edd'll have to chime in with how much both types of votes matter though.
5112  Bitcoin / Bitcoin Discussion / Re: Win 100 BTC by becoming the first Satoshi Superstar! on: February 11, 2012, 05:06:03 AM
I was really excited about this since I could use 100 btc but if I understand the rules correctly this is the dumbest contest I've ever heard of. Basically you are giving the person with the most btc 100 more btc. Due to bitcoins nature a rich person could generate hundreds of addresses and vote for themself and it would look like different people.
You're sending Satoshi's - a poor person could do it too.  Wink

Also, the judges balance things out with their own votes (which are worth much more than the "normal" person's vote).
5113  Economy / Goods / Re: Want a free kindle fire? Learn how to Social Engineer and get one free. on: February 11, 2012, 04:57:54 AM
Yo dawgs! I got a review copy of the stuff the OP is selling.

I'll refrain myself from commenting in the legality of the thing.

What matters is: If I had paid for what the OP is selling would I feel defrauded or scammed?

The answer is no. The OP delivers.

PS: No, I didn't get my "free" kindle. OP, you are free to reuse the serial number you sent me Wink

OP delivers, but you didn't get a free kindle.
Clarification requested.
OP gave him a serial and instructions on how to defraud Amazon on a Kindle, but he opted not to follow the instructions.
5114  Economy / Goods / Re: Want a free kindle fire? Learn how to Social Engineer and get one free. on: February 11, 2012, 01:50:52 AM

Do I want to get charged with fraud, go to jail, and end up like Denny Hecker?


The feds must have something better to do since I started doing this on december 15th.

I must be posting from jail or something.  Roll Eyes
Not yet, anyway.  Good luck when they finally do catch on to you though.  Have fun in court.




5115  Economy / Goods / Re: Want a free kindle fire? Learn how to Social Engineer and get one free. on: February 11, 2012, 01:41:38 AM

Do I want to get charged with fraud, go to jail, and end up like Denny Hecker?


The feds must have something better to do since I started doing this on december 15th.

I must be posting from jail or something.  Roll Eyes
Not yet, anyway.  Good luck when they finally do catch on to you though.  Have fun in court.
5116  Economy / Goods / Re: Want a free kindle fire? Learn how to Social Engineer and get one free. on: February 11, 2012, 01:36:52 AM
It's nothing more than theft from Amazon.  You don't own the Kindles.  You didn't pay for the Kindles.  You shouldn't have the Kindles.  It's theft, plain and simple.

Anyone who does this doesn't have a shred of morality left in them.
5117  Economy / Goods / Re: Want a free kindle fire? Learn how to Social Engineer and get one free. on: February 11, 2012, 01:28:21 AM
Sounds like a great way to get jailtime for fraud.
5118  Bitcoin / Bitcoin Discussion / Re: Idea: A fund for an alternative Bitcoin development team. on: February 10, 2012, 09:33:34 PM
I don't think there's any problem with having alternative Bitcoin development teams.  If you believe the client can be better, then create a better client.  We already have several teams of people developing alternative clients.  Armory is quite impressive so far, for one.

I don't think there's any reason to call for the resignation of existing teams though.  If you don't like Gavin's client, then use a client you do like.

If you don't like ANY of the existing clients, then sure, start up a fund for an alternative development team.  Maybe you can find the right members for a different team that will develop a client to your specifications.  But there's no reason to oust Gavin and his team in the process.  They can develop their client, and you can develop yours.
5119  Bitcoin / Bitcoin Discussion / BTC Price history? on: February 10, 2012, 09:27:15 PM
Looking for a CSV or table format of price history of BTC.  Should be based on MtGox price.  Ideally, it would have a large dataset to work with (maybe out to the last year?), but even just a week or a month's worth of data would be good.
5120  Other / Beginners & Help / Re: Trading Bots on: February 10, 2012, 09:25:04 PM
Subscribed... want to see what bots are legit.  As long as they have adjustable parameters, people shouldn't be running the same strategies, right?
Pages: « 1 ... 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 [256] 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 ... 405 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!