Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickatnight/py-clubhouse

📅 Unofficial Python client for Clubhouse.io
https://github.com/nickatnight/py-clubhouse

clubhouse clubhouse-api project-management python python3

Last synced: 4 days ago
JSON representation

📅 Unofficial Python client for Clubhouse.io

Awesome Lists containing this project

README

        

# py-clubhouse


Build Status



Actions Status

Python client for Clubhouse (started as a fork of [clubhouse-client](https://github.com/allardbrain/clubhouse-client))

## Installation

The package is available on [pypi](https://pypi.org/project/py-clubhouse/) and can be installed like any other packages.

$ pip install py-clubhouse

## Usage

Refer to [Clubhouse API Docs](https://clubhouse.io/api/rest/v3/) for more information.

```python
from py_clubhouse import Clubhouse

clubhouse = Clubhouse('your api key')

story = clubhouse.get_story(1234) # returns Story object
workflows = clubhouse.workflows() # returns list of Workflow objects
stories = clubhouse.search_stories("state:Staging") # returns list of Story objects
```

## Development

1. Clone repo
2. Install [poetry](https://github.com/python-poetry/poetry/blob/master/README.md) globally.
3. Activate virtual env `poetry shell`
4. Install dependencies with `poetry install`
5. Run pytest `poetry run pytest`

## TODO

* ~~add GHA workflow~~
* ~~create models for relevant resources~~
* moar tests
* add c.r.u.d. methods for relevant models