Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marctc/tapioca-disqus
Disqus wrapper using tapioca
https://github.com/marctc/tapioca-disqus
Last synced: 28 days ago
JSON representation
Disqus wrapper using tapioca
- Host: GitHub
- URL: https://github.com/marctc/tapioca-disqus
- Owner: marctc
- License: mit
- Created: 2015-08-11T15:08:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-25T17:34:35.000Z (over 8 years ago)
- Last Synced: 2024-09-21T10:29:29.506Z (about 2 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 Disqusdisqus = 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.### Serialization
- datetime
- Decimal### Deserialization
- datetime
- Decimal## More
- Learn how Tapioca works [here](http://tapioca-wrapper.readthedocs.org/en/latest/quickstart.html/)
- Explore this package using ipython
- Have fun!