https://github.com/jdecool/clubhouse-api
PHP client for Clubhouse.io REST API
https://github.com/jdecool/clubhouse-api
api-client clubhouse hacktoberfest php-client
Last synced: 5 months ago
JSON representation
PHP client for Clubhouse.io REST API
- Host: GitHub
- URL: https://github.com/jdecool/clubhouse-api
- Owner: jdecool
- License: mit
- Created: 2019-07-25T06:15:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T21:23:15.000Z (about 3 years ago)
- Last Synced: 2024-09-18T12:52:41.343Z (7 months ago)
- Topics: api-client, clubhouse, hacktoberfest, php-client
- Language: PHP
- Homepage: https://clubhouse.io/api/rest/
- Size: 96.7 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Clubhouse API client
====================[](https://actions-badge.atrox.dev/jdecool/clubhouse-api/goto?ref=master)
[](https://scrutinizer-ci.com/g/jdecool/clubhouse-api/?branch=master)
[](https://packagist.org/packages/jdecool/clubhouse-api)A simple PHP client for [Clubhouse.io REST API](https://clubhouse.io/api/rest/v3/).
## Install it
The library is decoupled from any HTTP message client with [HTTPlug](http://httplug.io). That's why you need to install a client implementation `http://httplug.io/` in this example.
Install using [composer](https://getcomposer.org):
```bash
composer require jdecool/clubhouse-api guzzlehttp/guzzle http-interop/http-factory-guzzle
```## Getting started
```php
createClientV2('your-clubhouse-token'); // create client for Clubhouse API v2 (v1 is also available)$story = $client->get('stories/144');
```## LICENSE
This library is licensed under the MIT License.