This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This pulls in the data from an external source | |
* This will probably be stored and retreived from a DB in real life | |
* See this piece of code as the C# code for the winform | |
*/ | |
$json = file_get_contents('https://coindata.co.za/api.php'); | |
$coins = json_decode($json); | |
?> |