prizeless/duoporta-client

Library for connecting and executing operations Duoporta API

1.0.2 2019-10-05 18:07 UTC

This package is not auto-updated.

Last update: 2024-05-28 17:04:08 UTC


README

Steps to using this API Client

  1. Get API key from duoporta.co.za
  2. Install this api client using composer
  3. Define the following constants somewhere in your project
  • DUOPORTA_API_KEY
  • DUOPORTA_CLIENT_ID
  • DUOPORTA_API_DEBUG
  1. Initialize class
$request = new \Duoporta\Controllers\Request();
$result  = $request->getRanges();

  1. Check the various methods under this class.
  2. Sit back and love it :)

TODO

  1. Write unit tests
  2. Cache responses