Disqus API wrapper using tapioca
Project description
# tapioca-disqus
Disqus API wrapper implemented with [tapioca-wrapper](https://github.com/vintasoftware/tapioca-wrapper).
## Installation
```
pip install tapioca-disqus
```
## Documentation
This wrapper can execute any Disqus Web API method listed in [Disqus API docs](https://disqus.com/api/docs/).
For example, if we want to call __threads/details/__ method we can do the following:
``` python
from tapioca_disqus import Disqus
disqus = Disqus(api_secret='your-disqus-api-secret')
thread = disqus.threads_details().get(params={'thread': '42'})
print(thread.response.id().data()) # prints '42'
```
All methods should be called with snake_case naming in order to fit Python convention. If we want to execute __forums/listFollowers__
API method we should use `disqus.forums_list_followers()` method.
## More
- Learn how Tapioca works [here](http://tapioca-wrapper.readthedocs.org/en/latest/quickstart.html/)
- Explore this package using ipython
- Have fun!
Disqus API wrapper implemented with [tapioca-wrapper](https://github.com/vintasoftware/tapioca-wrapper).
## Installation
```
pip install tapioca-disqus
```
## Documentation
This wrapper can execute any Disqus Web API method listed in [Disqus API docs](https://disqus.com/api/docs/).
For example, if we want to call __threads/details/__ method we can do the following:
``` python
from tapioca_disqus import Disqus
disqus = Disqus(api_secret='your-disqus-api-secret')
thread = disqus.threads_details().get(params={'thread': '42'})
print(thread.response.id().data()) # prints '42'
```
All methods should be called with snake_case naming in order to fit Python convention. If we want to execute __forums/listFollowers__
API method we should use `disqus.forums_list_followers()` method.
## More
- Learn how Tapioca works [here](http://tapioca-wrapper.readthedocs.org/en/latest/quickstart.html/)
- Explore this package using ipython
- Have fun!
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
tapioca-disqus-0.1.2.tar.gz
(9.9 kB
view details)
File details
Details for the file tapioca-disqus-0.1.2.tar.gz
.
File metadata
- Download URL: tapioca-disqus-0.1.2.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f0d8d38960cebf985d29d92878449750a6feb6da302c5bb350a5b18f2a8399 |
|
MD5 | bea2e9a6f5826592cf345b3ef78df6dd |
|
BLAKE2b-256 | 62d4cc2e60a0a7a9be4ae3d2c8ff870cdd970ef56ef3c5287888fd63094c26f8 |