15104/how-to-parse-json-data-from-remote-server
I want to extract data from a website (https://btc-e.com/api/2/btc_usd/ticker ) and then use the value got from this for my further tasks and function. Is there a way I can do it?
Yes, you can do it use the following code:
<?php $content=file_get_contents("https://btc-e.com/api/2/btc_usd/ticker"); $data=json_decode($content); //The values are stored in $data. Now you can use them for your functions ?>
web3.eth.getTransaction(txHash) will returns transaction details like blockHash, transactionIndex, ...READ MORE
You can do this by developing a ...READ MORE
you can do it by writing a ...READ MORE
To get transaction details like Block Hash ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Just remove the json_encode call, and it should work: $resp ...READ MORE
Convert the recipes into JSON objects. x = ...READ MORE
What is the argument utxos int the ...READ MORE
Try this: print r.json()['address'],' has ', r.json()['n_tx'], 'tr ...READ MORE
Hey buddy, this works: /** * Track temperatures ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.