fredbradley/bradfordapi

A PHP Wrapper API for Bradford

1.0.0 2020-06-29 08:50 UTC

This package is auto-updated.

Last update: 2024-10-29 05:41:21 UTC


README

Latest Version on Packagist Build Status StyleCI Status Total Downloads

Bradford Api

Installation

You can install the package via composer:

composer require fredbradley/bradfordapi

Usage

$api = new \FredBradley\BradfordApi\BradfordApi("https://server.tld", "username", "password");
$api->request("GET", "host", [], ['owner' => 'myuser']);
// this will give you a JSON object of hosts where the owner equqals myuser

More helper functions will be added in due course, but this will get you going.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@fredbradley.co.uk instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.