m1ke/glide-bills

An interface to the glide.uk.com bills interface

dev-master 2014-06-04 09:15 UTC

This package is auto-updated.

Last update: 2024-03-13 20:16:52 UTC


README

A simple PHP interface to return quotes from the Glide API. Longer term plan to abstract out REST interface to make other endpoints accessible.

Glide have updated their API as of June 2014, so the file in docs is currently out of date and some broadband methods might not work

Install

You can install Glide with Composer. Add the following to the require key of your composer.json file:

"m1ke/glide-bills": "dev-master"

Authors

Written by Mike Lehan and StuRents.com.

Documentation

A PDF API specification used to build this library, provided by Glide, can be found in docs/. I have been unable to find a copy of this made available elsewhere on the web.

Testing

Run phpunit test.php to test all implemented interfaces. Other interfaces can be added to tests without changing the class thanks to the __call magic method.