Skip to content

GDP-ADMIN/deepsea-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installing

Put this in your composer.json

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/GDP-ADMIN/deepsea-php-sdk.git"
        }
    ],
    "require": {
        "deepsea/php-sdk": "0.1.0"
    }
}

Usage

use DeepSea\SDK\DeepSea;
use DeepSea\SDK\SCOPE;

$clientId = 'id';
$clientSecret = 'secret';
$scope = array(SCOPE::ALL);
$redirectUri = 'http://apps.deepsea.co.id/auth';
$host = null; // If it's set to null, default value will be picked --> 'http://api.deepsea.co.id'
$version = null; // If it's set to null, default value will be picked --> '/v2'

$deepSea = new DeepSea($clientId, $clientSecret, $scope, $redirectUri, $host, $version);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages