We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5b51df + 61e6ed2 commit 400a05bCopy full SHA for 400a05b
include/classes/tools.class.php
@@ -81,6 +81,8 @@ private function getApiType($url) {
81
return 'cryptorush';
82
} else if (preg_match('/mintpal.com/', $url)) {
83
return 'mintpal';
84
+ } else if (preg_match('/c-cex.com/', $url)) {
85
+ return 'c-cex';
86
} else if (preg_match('/bittrex.com/', $url)) {
87
return 'bittrex';
88
}
@@ -118,7 +120,10 @@ public function getPrice() {
118
120
case 'mintpal':
119
121
return @$aData['0']['last_price'];
122
break;
- case 'bittrex':
123
+ case 'c-cex':
124
+ return @$aData['ticker']['lastprice'];
125
+ break;
126
+ case 'bittrex':
127
return @$aData['result']['Last'];
128
129
0 commit comments