├── functions ├── logs │ └── sent ├── .htaccess ├── classes │ ├── coinbase │ │ ├── Coinbase │ │ │ ├── ApiException.php │ │ │ ├── ConnectionException.php │ │ │ ├── TokensExpiredException.php │ │ │ ├── Authentication.php │ │ │ ├── SimpleApiKeyAuthentication.php │ │ │ ├── Exception.php │ │ │ ├── OAuthAuthentication.php │ │ │ ├── ApiKeyAuthentication.php │ │ │ ├── Requestor.php │ │ │ ├── ca-coinbase.crt │ │ │ ├── OAuth.php │ │ │ ├── Rpc.php │ │ │ └── Coinbase.php │ │ └── Coinbase.php │ ├── coinbaseapi.php │ ├── template.php │ ├── selectapi.php │ ├── log.php │ ├── coinarea.php │ └── configuration.php ├── footer.php ├── header.php ├── loader.php └── recaptchalib.php ├── assets └── style.css ├── README.md ├── terms.php ├── index.php └── LICENSE /functions/logs/sent: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /functions/.htaccess: -------------------------------------------------------------------------------- 1 | Order deny,allow 2 | Deny from all 3 | -------------------------------------------------------------------------------- /functions/classes/coinbase/Coinbase/ApiException.php: -------------------------------------------------------------------------------- 1 | _apiKey = $apiKey; 10 | } 11 | 12 | public function getData() 13 | { 14 | $data = new stdClass(); 15 | $data->apiKey = $this->_apiKey; 16 | return $data; 17 | } 18 | } -------------------------------------------------------------------------------- /assets/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | width: 800px; 3 | margin: auto; 4 | } 5 | 6 | h1 { 7 | margin-top: 0px; 8 | margin-left: 5px; 9 | } 10 | 11 | h1 a { 12 | color: black; 13 | text-decoration: none; 14 | } 15 | 16 | #content { 17 | border: 1px solid black; 18 | margin: 5px; 19 | } 20 | 21 | #footer { 22 | border: 1px dotted black; 23 | text-align:center; 24 | margin:5px; 25 | } 26 | 27 | .errormsg { 28 | border: 1px solid red; 29 | background-color: #FFFFF; 30 | color: red; 31 | margin: 5px; 32 | padding: 5px; 33 | } -------------------------------------------------------------------------------- /functions/classes/coinbase/Coinbase/Exception.php: -------------------------------------------------------------------------------- 1 | http_code = $http_code; 9 | $this->response = $response; 10 | } 11 | 12 | public function getResponse() 13 | { 14 | return $this->response; 15 | } 16 | 17 | public function getHttpCode() 18 | { 19 | return $this->http_code; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /functions/classes/coinbase/Coinbase/OAuthAuthentication.php: -------------------------------------------------------------------------------- 1 | _oauth = $oauth; 11 | $this->_tokens = $tokens; 12 | } 13 | 14 | public function getData() 15 | { 16 | $data = new stdClass(); 17 | $data->oauth = $this->_oauth; 18 | $data->tokens = $this->_tokens; 19 | return $data; 20 | } 21 | } -------------------------------------------------------------------------------- /functions/footer.php: -------------------------------------------------------------------------------- 1 | load('configuration'); 7 | ?> 8 | 9 |
11 |