Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function showLTC() {
- $json_string = file_get_contents("http://ltc.minebig.com/index.php?page=api&action=getpoolhashrate&api_key=cfb42323336066789e34d6a9bf984371a906ced318904f5c99e5c030bb8b32fa");
- $parsed_json = json_decode($json_string, true);
- $parsed_data = $parsed_json['getpoolhashrate'];
- $parsed_hash = $parsed_data['data'];
- echo "".$parsed_hash."\n";
- }
- ?>
- Place this where you want the data above to display.
- <?php
- showLTC();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement