PHP code example of qurban-ali / talent-scope-api
1. Go to this page and download the library: Download qurban-ali/talent-scope-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
qurban-ali / talent-scope-api example snippets
use QurbanAli\TalentScopeApi\TalentScopeClient;
$baseUrl = 'https://api.talentscope.com';
$accessToken = 'your-access-token';
$refreshToken = 'your-refresh-token';
$client = new TalentScopeClient($baseUrl, $accessToken, $refreshToken);
$email = '[email protected]';
$password = 'your-password';
$response = $client->auth->login($email, $password);
print_r($response);
$response = $client->auth->refreshToken();
print_r($response);