Flowdock API Wrapper
Project description
This API wrapper provides methods with intuitive implementation to make development simpler.
With Flowdock API, developers are able to:
- Create chatbots
>>> import flowdock >>> flow = flowdock.connect(token=TOKEN, org='apua', flow='main') >>> msg = flow.send('Message') # send a message >>> thread = flow.thread(msg['thread']['id']) >>> reply = thread.send('Reply') # reply the message >>> flow.list(limit=1)['content'] # get last message content 'Reply'- Integrate external services
>>> from flowdock import constructors as new >>> apua = new.author('Apua', avatar='http://gravatar.com/apua.jpg') >>> item = new.thread( ... 'Item 42', ... external_url = 'https://external.service/item/42', ... body = '<strong>The detail of Item 01</strong>', ... fields = [ ... new.field(label='Project', value='F.A.W.'), ... new.field(label='<em>Creator</em>', value='<em>Apua</em>'), ... ], ... status = new.status(color='green', value='WIP'), ... ) >>> import flowdock >>> serivce = flowdock.connect(flow_token=FLOW_TOKEN) >>> service.present('42', apua, 'created item 42', item)- Monitor Flowdock flows
>>> import flowdock >>> flow = flowdock.connect(token=TOKEN, org='apua', flow='main') >>> ev = next(flow.events()) >>> ev['content']) 'New message!!'
How to Install
This package is available on PyPI:
$ pip install flowdock-api-wrapper
How to Use
The reference is available to detail the library usage.
It also summarizes the usage of Flowdock API while the wrapped methods map to the API directly.
Please refer to reference for further usage.
How to Contribute
To contribute the package, refer to development guide, which decribe the design, implementation, and maintenance.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flowdock-api-wrapper-1.1.tar.gz.
File metadata
- Download URL: flowdock-api-wrapper-1.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50dcaaca3020cc5cecc417142acf77b7ff619ae27e29b0717f7324305c6da61
|
|
| MD5 |
61618bbd920d7951061b5045efc04208
|
|
| BLAKE2b-256 |
a4b28ab19fc7cfc067b133eff539a5b8e9c2e3e7f3e312f9a5f1bd54992f7256
|
File details
Details for the file flowdock_api_wrapper-1.1-py3-none-any.whl.
File metadata
- Download URL: flowdock_api_wrapper-1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35dd4a63b75ff22607703165a7f60457ca4249e5045734bfe6c8bdba2c39d993
|
|
| MD5 |
83188b0e5fbdc32f5f383c7c199c5382
|
|
| BLAKE2b-256 |
4466af997ea06f05b7299fb6c2af2b2b1b2166a1ec90b41de88a28c83654f2ef
|