Skip to content

Commit

Permalink
Merge pull request #30 from whotooktwarden/master
Browse files Browse the repository at this point in the history
Version 1.0.4 Update
  • Loading branch information
whotooktwarden committed Aug 3, 2015
2 parents fd1b905 + e60d465 commit 6f75b86
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
42 changes: 42 additions & 0 deletions fetch.php
Expand Up @@ -128,4 +128,46 @@
//echo $LTCOrdersJson;
//echo $LTCOrdersArray;

$getSSBTCOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/BTC+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q">XRP/BTC.~SnapSwap</a>';
$BTCOrdersArray = file_get_contents($getSSBTCOrders);
$BTCOrdersJson = json_encode($BTCOrdersArray);
echo "This example is the ~SnapSwap order book for $getSSBTCOrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

$getSSUSDOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q">XRP/USD.~SnapSwap</a>';
$USDOrdersArray = file_get_contents($getSSUSDOrders);
$USDOrdersJson = json_encode($USDOrdersArray);
echo "This example is the ~SnapSwap order book for $getSSUSDOrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

$getDRBTCOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/BTC+rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX">XRP/BTC.~Dividendrippler</a>';
$BTCOrdersArray = file_get_contents($getDRBTCOrders);
$BTCOrdersJson = json_encode($BTCOrdersArray);
echo "This example is the ~Dividendrippler order book for $getDRBTCOrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

$getBSEUROrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/EUR+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">XRP/EUR.~Bitstamp</a>';
$EUROrdersArray = file_get_contents($getBSUROrders);
$EUROrdersJson = json_encode($EUROrdersArray);
echo "This example is the ~Bitstamp order book for $getBSEUROrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

$getUSDSSEURBSOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q/EUR+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">USD.~SnapSwap/EUR.~Bitstamp</a>';
$USDEUROrdersArray = file_get_contents($getUSDSSEURBSOrders);
$USDEUROrdersJson = json_encode($EUROrdersArray);
echo "This example is the ~SnapSwap/~Bitstamp order book for $getUSDSSEURBSOrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

$getBTCSSBTCBSOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/BTC+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q/BTC+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">BTC.~SnapSwap/BTC.~Bitstamp</a>';
$BTCBTCOrdersArray = file_get_contents($getBTCSSBTCBSOrders);
$BTCBTCOrdersJson = json_encode($BTCOrdersArray);
echo "This example is the ~SnapSwap/~Bitstamp order book for $getBTCSSBTCBSOrders <br />";
//echo $BTCOrdersJson;
//echo $BTCOrdersArray;

?>
2 changes: 1 addition & 1 deletion include.php
Expand Up @@ -30,7 +30,7 @@

//Declare and instantiate the gatewayName variable, store default as Read the README.md file to Change This:

$gatewayName = "QGK V1.0.3-1 Demo"; // string value
$gatewayName = "QGK V1.0.4 Demo"; // string value

//Declare and instantiate asset array with default BTC:

Expand Down
1 change: 1 addition & 0 deletions index.php
Expand Up @@ -159,6 +159,7 @@
<li>Here is the second one, I can copy and paste it below for more supporting facts</li>
<li><a href="https://xagate.com">XAGATE.com</a> the official QGK demonstration website</li>
<li>View our <a href="products.php">example Ripple web-store</a></li>
<li>View our <a href="fetch.php">Ripple statistics page</a></li>
<li>This site acts as a showcase for the different versions of the web-kit</li>
</li><li><b>This is the last important fact in bold</b></li></ul><br />
<p><a class="btn btn-primary btn-lg" role="button" id="learnMore">Learn more &raquo;</a></p><br />
Expand Down

0 comments on commit 6f75b86

Please sign in to comment.