Skip to content

marctc/tapioca-disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tapioca-disqus

Disqus API wrapper implemented with tapioca-wrapper.

Installation

pip install tapioca-disqus

Documentation

This wrapper can execute any Disqus Web API method listed in Disqus API docs.

For example, if we want to call threads/details/ method we can do the following:

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
  • Explore this package using ipython
  • Have fun!

About

Disqus wrapper using tapioca

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages