public function _validation_api($api_id, $api_key) { $api = new Pheal($api_id, $api_key); try{ $result = $api->Characters(); } catch(PhealAPIException $e) { if($e == 202) return false; else { return true; } } }
It looks like you're new here. If you want to get involved, click one of these buttons!