2017 © Pedro Peláez
 

library deep-social-php-api-client

PHP Client Library for http://deep.social API

image

stavarengo/deep-social-php-api-client

PHP Client Library for http://deep.social API

  • Wednesday, February 28, 2018
  • by Stavarengo
  • Repository
  • 0 Watchers
  • 0 Stars
  • 182 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 63 % Grown

The README.md

deep-social-php-api-client

PHP Client Library for http://deep.social API, (*1)

If you are interested in a PHP API for Deep.Social, that's your library :), (*2)

About It

  • Depends only on PSRs.
  • Optionally use cache to avoid spend your DeepSocial credits requesting data you already have.
  • You can use it with any application, either if it uses or not a factories from PSR-11.
  • It should be very easy to use, since I tried to keep all the source code well documented.

Installation

Install via composer., (*3)

composer require stavarengo/deep-social-php-api-client:^0.0

Basic Usage - More complete documentation yet to come

  • Use it directly (without a factory)., (*4)

    $client = new \Sta\DeepSocialPhpApiClient\Client('YOUR_DEPPSOCIAL_API_TOKEN', null);// This 'null' means: "no cache"
    $response = $client->getAudienceData('@SOME_INSTAGRAM_USER_NAME');
    
    var_dump($response->hasError() ? $response->getErrorEntity() : $response->getEntity());
    
  • Use our default factory (PSR-11)., (*5)

    $client = $container->get(\Sta\DeepSocialPhpApiClient\Client::class)
    
    var_dump($response->hasError() ? $response->getErrorEntity() : $response->getEntity());
    

The Versions

28/02 2018

dev-master

9999999-dev

PHP Client Library for http://deep.social API

  Sources   Download

MIT

The Requires

 

28/02 2018

v0.0.3

0.0.3.0

PHP Client Library for http://deep.social API

  Sources   Download

MIT

The Requires

 

23/02 2018

v0.0.2

0.0.2.0

PHP Client Library for http://deep.social API

  Sources   Download

MIT

The Requires

 

23/02 2018

v0.0.1

0.0.1.0

PHP Client Library for http://deep.social API

  Sources   Download

MIT

The Requires

 

22/02 2018

v0.0.0

0.0.0.0

PHP Client Library for http://deep.social API

  Sources   Download

MIT

The Requires