Skip to content

Commit 6f75b86

Browse files
Merge pull request #30 from whotooktwarden/master
Version 1.0.4 Update
2 parents fd1b905 + e60d465 commit 6f75b86

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

fetch.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,46 @@
128128
//echo $LTCOrdersJson;
129129
//echo $LTCOrdersArray;
130130

131+
$getSSBTCOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/BTC+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q">XRP/BTC.~SnapSwap</a>';
132+
$BTCOrdersArray = file_get_contents($getSSBTCOrders);
133+
$BTCOrdersJson = json_encode($BTCOrdersArray);
134+
echo "This example is the ~SnapSwap order book for $getSSBTCOrders <br />";
135+
//echo $BTCOrdersJson;
136+
//echo $BTCOrdersArray;
137+
138+
$getSSUSDOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q">XRP/USD.~SnapSwap</a>';
139+
$USDOrdersArray = file_get_contents($getSSUSDOrders);
140+
$USDOrdersJson = json_encode($USDOrdersArray);
141+
echo "This example is the ~SnapSwap order book for $getSSUSDOrders <br />";
142+
//echo $BTCOrdersJson;
143+
//echo $BTCOrdersArray;
144+
145+
$getDRBTCOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/BTC+rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX">XRP/BTC.~Dividendrippler</a>';
146+
$BTCOrdersArray = file_get_contents($getDRBTCOrders);
147+
$BTCOrdersJson = json_encode($BTCOrdersArray);
148+
echo "This example is the ~Dividendrippler order book for $getDRBTCOrders <br />";
149+
//echo $BTCOrdersJson;
150+
//echo $BTCOrdersArray;
151+
152+
$getBSEUROrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/XRP/EUR+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">XRP/EUR.~Bitstamp</a>';
153+
$EUROrdersArray = file_get_contents($getBSUROrders);
154+
$EUROrdersJson = json_encode($EUROrdersArray);
155+
echo "This example is the ~Bitstamp order book for $getBSEUROrders <br />";
156+
//echo $BTCOrdersJson;
157+
//echo $BTCOrdersArray;
158+
159+
$getUSDSSEURBSOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q/EUR+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">USD.~SnapSwap/EUR.~Bitstamp</a>';
160+
$USDEUROrdersArray = file_get_contents($getUSDSSEURBSOrders);
161+
$USDEUROrdersJson = json_encode($EUROrdersArray);
162+
echo "This example is the ~SnapSwap/~Bitstamp order book for $getUSDSSEURBSOrders <br />";
163+
//echo $BTCOrdersJson;
164+
//echo $BTCOrdersArray;
165+
166+
$getBTCSSBTCBSOrders = '<a href="https://xagate.com:5990/v1/accounts/rKYNhsT3aLymkGH7WL7ZUHkm6RE27iuM4C/order_book/BTC+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q/BTC+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B">BTC.~SnapSwap/BTC.~Bitstamp</a>';
167+
$BTCBTCOrdersArray = file_get_contents($getBTCSSBTCBSOrders);
168+
$BTCBTCOrdersJson = json_encode($BTCOrdersArray);
169+
echo "This example is the ~SnapSwap/~Bitstamp order book for $getBTCSSBTCBSOrders <br />";
170+
//echo $BTCOrdersJson;
171+
//echo $BTCOrdersArray;
172+
131173
?>

include.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

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

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

3535
//Declare and instantiate asset array with default BTC:
3636

index.php

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

0 commit comments

Comments
 (0)