Skip to content

awsmug/lib-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Lib API

Library for API requests.

Version 1.0.0-alpha-1

Example implementation

<?php

use AWSM\LibAPI\Examples\TrustedShopsAPI;
use AWSM\LibAPI\Examples\TrustedShopsAuth;
use AWSM\LibAPI\Examples\TrustedShopsReviews;


$auth  = new TrustedShopsAuth( TS_CLIENT_ID, TS_CLIENT_SECRET );
$api   = new TrustedShopsAPI( $auth );

$params = [
    'count' => 3,
    'status' => 'APPROVED',
    'orderBy' => 'rating'
];

$response = $api->request( '/reviews', 'GET', $params );

About

PHP Library for API's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages