Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T21:23:15.000Z (almost 3 years ago)
- Last Synced: 2024-09-18T12:52:41.343Z (4 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
====================[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fjdecool%2Fclubhouse-api%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/jdecool/clubhouse-api/goto?ref=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jdecool/clubhouse-api/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jdecool/clubhouse-api/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/jdecool/clubhouse-api/v/stable.png)](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.