2017 © Pedro Peláez
 

library dev-identify

A simple php wrapper for dev-identify api.

image

dev-identify/dev-identify

A simple php wrapper for dev-identify api.

  • Sunday, May 27, 2018
  • by rahulhaque
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

DevIdentify Api Wrapper for PHP

A simple php wrapper for dev-identify image grabber., (*1)

Usage

  • Clone or download the repository.
  • Require the class to access its functions.
  • Or install with composer require dev-identify/dev-identify

Example

save('full_directory_path_including_file_name_ext') // See methods description
    ->toJson(); // toArray() is also available

print_r($result);

?>

Methods

  • email(), (*2)

    Email method is a static and required method that takes in user email as parameter. Email method holds the actual response from devidentify server. This method returns an object that can be further chained with other methods available., (*3)

  • save(), (*4)

    Save method takes in full directory path as parameter along with filename and extension, i.e /path/image_name.jpg. Save method will fail if the directory does not exist or has no write permission. This method returns an object that can be further chained with other methods available., (*5)

  • toJson(), (*6)

    ToJson method simply returns the response in json format. Chain this method with either email() or save() method to see the actual output., (*7)

  • toArray(), (*8)

    ToArray method simply returns the response as an array. Chain this method with either email() or save() method to see the actual output., (*9)

The Versions

27/05 2018

dev-master

9999999-dev

A simple php wrapper for dev-identify api.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Avatar rahulhaque

laravel php api-wrapper devidentify

27/05 2018

v0.0.1

0.0.1.0

A simple php wrapper for dev-identify api.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Avatar rahulhaque

laravel php api-wrapper devidentify