Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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 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.

### 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!