Skip to main content

Api Module for https://bubblez.app/

Project description

Bubblez.py - Api Module for Bubblez.app

A Python Module for the Bubblez.app api

Version's


Setup

Pip install:

   pip install bubblez.py

Copy:

Required modules: requests

   $ python3 -m pip install requests 

Examples

Check the example.py file above!

Docs

Basic Client Setup:

   from bubblez import Bubblez 

   

   client = Bubblez("Your Username", "your token")  # Request your token at: 'https://bubblez.app/applications/api-token'

User:

checkUser()

   client.user.checkUser()

pingUser()

   client.user.pingUser()

getUser()

   client.user.getUser()

Posts:

sendPost()

   client.post.sendPost(

        message="The best Website is:...",

        from_="This Beauti Python Program",

        locked=True or False,

        nsfw=True or False,

    )

getPost()

   client.post.getPost(

      postid=...

   )

deletePost()

   client.post.deletePost(

      postid=...

   )

lockPost()

   client.post.lockPost(

      postid=..., 

      locked=True or False

   )

getLatestPost() Global

   client.post.getLatestPost(

      postid_only=True or False

   )

Reply's:

sendReply()

   client.reply.sendReply(

        postid=..., 

        message="The beauti reply on this beauti message..", 

        from_="from python", 

        nsfw=True or False

   )

deleteReply()

   client.reply.deleteReply(

        replyid=...

   )

Blog:

getLatest()

   client.blog.getLatest()

Lis

U can just use it

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Bubblez.py-0.0.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

Bubblez.py-0.0.2-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page