# Bubblez.py - Api Module for [Bubblez.app](https://bubblez.app)
A Python Module for the [Bubblez.app](https://bubblez.app) api
- [Bubblez.app](https://bubblez.app/library#bubblez.py) has approved Bubblez.py
# Bubblez live will shutdown from 07-01-2023 till ...
## Version's
- Python: [Github Bubblez.py](https://github.com/ProjectBubblez/bubblez.py)
- PyPi: [bubblez.py](https://pypi.org/project/bubblez.py/)
- Bubblez.js: [bubblez.js](https://github.com/ProjectBubblez/bubblez.js)
- Bubblez.js Wiki/Documentation: [Wiki/Documentation](https://github.com/ProjectBubblez/documentation)
----
- Live Website: [bubblez.app](https://bubblez.app)
- Canary Website [canary.bubblez.app](https://canary.bubblez.app/)
## Setup
##### For this Api Module you need to have your api token!
##### If you dont? Than request it [here.](https://bubblez.app/applications/api-token)
Pip install:
```bash
pip install bubblez.py
```
---
If you dont use the Pypi, than you need to manuel install Requests
```bash
python -m pip install requests
```
#### ```Note```:
If you use Windows and can not connected to the websockets because a SSL problem with python:
```python3
socket.connect(verify=False)
```
##### <b>This is vulnerable for man-in-middle attacks!!</b>
<br>
## Examples
Check the [examples](https://github.com/ProjectBubblez/bubblez.py/tree/main/examples) for api and websockets
# Docs
### Basic Client Setup:
```python3
from Bubblez import Bubblez
client = Bubblez("Live token")
'If you want to post to canary:'
client = Bubblez("Canary token", use_canary=True)
```
### Client Setup with all the websocket-events:
```python3
from Bubblez import Bubblez
from Bubblez.socket import Socket, Events, classes
client = Bubblez("Your token", True, True)
socket = Socket(client)
@socket.on(Events.NewLike)
def new_like(type, user: classes.User, post: classes.Post):
print(type, user.username, post.message)
"Do Your thing"
@socket.on(Events.NewPost)
def new_post(post: classes.Post):
print(post.json())
"Do Your thing"
@socket.on(Events.NewFollower)
def new_follower(user: classes.User):
print(user.json())
"Do Your thing"
@socket.on(Events.NewReply)
def new_reply(postid: int, reply: classes.Reply):
post = client.post.get(postid)
print(post.message, reply.message)
"Do Your thing"
@socket.on(Events.UnFollowed)
def un_follower(user: classes.User):
print(user.json())
"Do Your thing"
@socket.on(Events.NewEdit)
def new_edit(user: classes.User, type: str, post: classes.Post, reply: classes.Reply):
print(user.json(), type, post.json(), reply.json())
"Do Your thing"
@socket.on(Events.Unlike)
def un_linke(user: classes.User, type: str, post: classes.Post, reply: classes.Reply):
print(user.json(), type, post.json(), reply.json())
"Do Your thing"
socket.connect()
```
<br>
## User stuff:
#### Check the user:
##### Command: ```user = client.user.check()```
This command checks the client's token
##### The response:
```user.json()```
```js
{
"200": "Found user",
"uuid": null,
"username": "DarkMatter",
"displayname": "DarkMatter",
"pfp": "https://i.imgur.com/jAOd5gE.png",
"banner": "https://i.imgur.com/1bZdeBF.png",
"coins": "85",
"rank": "founder",
"eventr": "darkmatter",
"patreon": "true",
"booster": "true",
"bio": "We don't know much about them, but we're sure DarkMatter is great.",
"nsfw": "false",
"dob": null,
"pronoun": "hehim",
"ban": null,
"created_at": "2019-10-21 07:40:23",
"last_posted": "2021-07-30 01:19:36",
"posts": [
{
"postid": "522",
"username": "DarkMatter",
"nsfw": "false",
"content": "API is cool",
"from": "API testing",
"locked": "false",
"edited": null,
"post_date": "2021-07-30 12:18:31"
}
],
"replies": [
{
"replyid": "1473",
"postid": "522",
"username": "DarkMatter",
"nsfw": "false",
"content": "Cool reply with the API",
"from": "API testing",
"edited": null,
"reply_date": "2021-07-30 12:49:12"
}
]
}
```
#### Ping the user:
##### Command: ```user = client.user.ping()```
##### The response:
```user.json() ```
```js
{
"200": "Pong",
"username": "DarkMatter",
"online_status": "2021-07-30 13:03:18"
}
```
#### Get the user:
##### Command: ```user = client.user.get(username=..)```
| Arguments | Type | Value |
| :--- | :--- | :--- |
| username | ```str``` | The user you want to get |
##### The response:
```user.json() ```
```js
{
"200": "Found user",
"uuid": null,
"username": "embed",
"displayname": "embed",
"followers": 2,
"pfp": "https://i.imgur.com/Md5C3uy.gif",
"banner": null,
"coins": "0",
"rank": "founder",
"eventr": "lgbt19",
"patreon": "true",
"booster": "true",
"bio": "the best bubblez dev.",
"nsfw": "false",
"pronoun": "none",
"ban": null,
"created_at": "2019-10-22 12:04:01",
"last_posted": null,
"posts": [
{
"postid": "280",
"username": "embed",
"nsfw": "false",
"content": "gamimg",
"from": null,
"locked": "false",
"edited": null,
"post_date": "2020-08-09 17:15:19"
}
]
}
```
<br>
## Posts stuff:
#### Send a Post:
##### Command: ```post = client.post.send(message=.., from_=.., locked=.., nsfw=..)```
| Arguments | Type | Value |
| :--- | :--- | :---
| message | ```str``` | The message in the post. |
| from_ | ```str``` | The little message next to the date. |
| locked | ```bool``` | if True, no-one can reply. |
| nsfw | ```bool``` | if True, You need to set DOB (Date Of birth) to see this|
##### The response:
```post.json()```
```js
{
"200": "message sent",
"post": "API is cool",
"from": "API testing",
"locked": "false",
"pnsfw": "false",
"postid": 522
}
```
#### Get a post
##### Command: ```post = client.post.get(postid=..)```
##### The response:
| Arguments | Type | Value |
| :--- | :--- | :--- |
| postid | ```int``` | The postid of the post you want to get. |
```post.json()```
```js
{
"200": "Found post",
"postid": "522",
"username": "DarkMatter",
"pfp": "https://i.imgur.com/jAOd5gE.png",
"nsfw": "false",
"content": "API is cool",
"from": "API testing",
"locked": "false",
"edited": null,
"post_date": "2021-07-30 12:18:31",
"replies": [
{
"replyid": "1473",
"username": "DarkMatter",
"pfp": "https://i.imgur.com/jAOd5gE.png",
"content": "Cool reply with the API",
"from": null,
"deleted": null,
"edit_date": null,
"reply_date": "2021-07-30 12:49:12"
}
]
}
```
#### Delete a Post
##### Command: ```post = client.post.delete(postid=..)```
| Arguments | Type | Value |
| :--- | :--- | :--- |
| postid | ```int``` | The id of the post you want to delete. |
##### The response:
```post.json()```
```js
{
"200": "Post 522 has been deleted"
}
```
#### Lock a post
##### Command: ```post = client.post.lock(postid=.., togglelock=..)```
| Arguments | Type | Value |
| :--- | :--- | :--- |
| postid | ```int``` | The post id|
| togglelock| ```bool```| If True, no-one can reply on your post! |
##### The response:
```post.json()```
```js
{
"200": "Post 522 has been locked"
}
```
or when unlocked
```js
{
"200": "Post 522 has been unlocked"
}
```
#### Get the latest post ```Global```
##### Command: ```post = client.post.get_latest(id_only=..)```
| Arguments | Type | Value |
| :--- | :--- | :--- |
| id_only | ```bool``` | If False, than it returns a Post object else only the ID |
##### The response:
```post.json()```
```js
{
"200": "latest Post",
"postid": "522"
}
```
<br>
## Reply's:
#### Send a reply
##### Command: ```reply = client.reply.send(message=.., postid=.., from_=.., nsfw=...)```
| Arguments | Type | Value |
| :--- | :--- | :---
| message | ```str``` | The message in the reply. |
| postid | ```int``` | The postid you want to reply on |
| from_ | ```str``` | The little message next to the date. |
| nsfw | ```bool``` | if True, You need to set DOB (Date Of birth) to see this|
##### The response:
```reply.json()```
```js
{
"200": "reply sent",
"reply": "Cool reply with the API",
"postid": "522",
"from": "API testing",
"rnsfw": "false",
"replyid": 1473
}
```
#### Delete a reply
##### Command: ```reply = client.reply.delete(replyid=..)```
| Arguments | Type | Value |
| :--- | :--- | :---
| replyid | ```int``` | The postid you want to reply on |
##### The response:
```reply.json()```
```js
{
"200": "reply 1473 has been deleted"
}
```
#### Edit a reply()
##### Command: ```reply = client.reply.edit(replyid=.., message=..)```
| Arguments | Type | Value |
| :--- | :--- | :--- |
| replyid | ```int``` | The postid you want to reply on |
| message | ```str``` | the message than will replace the old one |
##### The response:
```reply.json()```
```js
{
"200": "Reply 1473 has been updated"
}
```
<br>
## Blog:
#### Get the latest Blog post!()
##### Command: ```devlog = client.devlog.get_latest()```
This command returns the latest Blog!
##### The response:
```devlog.json()```
```js
{
"200": "latest Blog Post",
"blogid": "",
"blogposter_username": "",
"blogposter_displayname": "",
"blogposter_pfp": "",
"blogcontent": "",
"blogdate": "1990-01-01 00:00:00"
}
```
###
Raw data
{
"_id": null,
"home_page": "",
"name": "Bubblez.py",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,api,websockets,bubblez",
"author": "Mees Meijer (Discord: @MeeSOS#1647) mees@meesinc.nl",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/f8/68/b674888094755ed45a8a112e79a197b6753be4637bef11598802f00c8aa3/Bubblez.py-0.0.6.tar.gz",
"platform": null,
"description": "\r\n# Bubblez.py - Api Module for [Bubblez.app](https://bubblez.app)\r\r\nA Python Module for the [Bubblez.app](https://bubblez.app) api\r\r\n- [Bubblez.app](https://bubblez.app/library#bubblez.py) has approved Bubblez.py\r\r\n\r\r\n\r\r\n# Bubblez live will shutdown from 07-01-2023 till ... \r\r\n\r\r\n## Version's \r\r\n- Python: [Github Bubblez.py](https://github.com/ProjectBubblez/bubblez.py)\r\r\n- PyPi: [bubblez.py](https://pypi.org/project/bubblez.py/)\r\r\n- Bubblez.js: [bubblez.js](https://github.com/ProjectBubblez/bubblez.js)\r\r\n- Bubblez.js Wiki/Documentation: [Wiki/Documentation](https://github.com/ProjectBubblez/documentation)\r\r\n ---- \r\r\n- Live Website: [bubblez.app](https://bubblez.app)\r\r\n- Canary Website [canary.bubblez.app](https://canary.bubblez.app/)\r\r\n\r\r\n## Setup\r\r\n##### For this Api Module you need to have your api token!\r\r\n##### If you dont? Than request it [here.](https://bubblez.app/applications/api-token)\r\r\n\r\r\nPip install:\r\r\n```bash\r\r\n pip install bubblez.py\r\r\n```\r\r\n --- \r\r\n\r\r\nIf you dont use the Pypi, than you need to manuel install Requests\r\r\n```bash \r\r\n python -m pip install requests \r\r\n```\r\r\n\r\r\n#### ```Note```: \r\r\nIf you use Windows and can not connected to the websockets because a SSL problem with python: \r\r\n```python3\r\r\nsocket.connect(verify=False)\r\r\n```\r\r\n##### <b>This is vulnerable for man-in-middle attacks!!</b>\r\r\n<br>\r\r\n\r\r\n## Examples\r\r\n\r\r\nCheck the [examples](https://github.com/ProjectBubblez/bubblez.py/tree/main/examples) for api and websockets\r\r\n\r\r\n\r\r\n# Docs \r\r\n### Basic Client Setup:\r\r\n\r\r\n```python3\r\r\n from Bubblez import Bubblez \r\r\n\r\r\n client = Bubblez(\"Live token\") \r\r\n\r\r\n 'If you want to post to canary:'\r\r\n client = Bubblez(\"Canary token\", use_canary=True)\r\r\n\r\r\n```\r\r\n### Client Setup with all the websocket-events:\r\r\n```python3\r\r\n from Bubblez import Bubblez\r\r\n from Bubblez.socket import Socket, Events, classes\r\r\n\r\r\n\r\r\n client = Bubblez(\"Your token\", True, True)\r\r\n socket = Socket(client)\r\r\n\r\r\n\r\r\n @socket.on(Events.NewLike)\r\r\n def new_like(type, user: classes.User, post: classes.Post):\r\r\n print(type, user.username, post.message)\r\r\n \"Do Your thing\"\r\r\n \r\r\n @socket.on(Events.NewPost)\r\r\n def new_post(post: classes.Post):\r\r\n print(post.json())\r\r\n \"Do Your thing\"\r\r\n\r\r\n @socket.on(Events.NewFollower)\r\r\n def new_follower(user: classes.User):\r\r\n print(user.json())\r\r\n \"Do Your thing\"\r\r\n\r\r\n @socket.on(Events.NewReply)\r\r\n def new_reply(postid: int, reply: classes.Reply):\r\r\n post = client.post.get(postid)\r\r\n print(post.message, reply.message)\r\r\n \"Do Your thing\"\r\r\n\r\r\n @socket.on(Events.UnFollowed)\r\r\n def un_follower(user: classes.User):\r\r\n print(user.json())\r\r\n \"Do Your thing\"\r\r\n\r\r\n @socket.on(Events.NewEdit)\r\r\n def new_edit(user: classes.User, type: str, post: classes.Post, reply: classes.Reply): \r\r\n print(user.json(), type, post.json(), reply.json())\r\r\n \"Do Your thing\"\r\r\n\r\r\n @socket.on(Events.Unlike)\r\r\n def un_linke(user: classes.User, type: str, post: classes.Post, reply: classes.Reply):\r\r\n print(user.json(), type, post.json(), reply.json())\r\r\n \"Do Your thing\"\r\r\n\r\r\n socket.connect()\r\r\n \r\r\n```\r\r\n<br>\r\r\n\r\r\n## User stuff: \r\r\n#### Check the user:\r\r\n##### Command: ```user = client.user.check()```\r\r\nThis command checks the client's token \r\r\n##### The response: \r\r\n```user.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Found user\",\r\r\n \"uuid\": null,\r\r\n \"username\": \"DarkMatter\",\r\r\n \"displayname\": \"DarkMatter\",\r\r\n \"pfp\": \"https://i.imgur.com/jAOd5gE.png\",\r\r\n \"banner\": \"https://i.imgur.com/1bZdeBF.png\",\r\r\n \"coins\": \"85\",\r\r\n \"rank\": \"founder\",\r\r\n \"eventr\": \"darkmatter\",\r\r\n \"patreon\": \"true\",\r\r\n \"booster\": \"true\",\r\r\n \"bio\": \"We don't know much about them, but we're sure DarkMatter is great.\",\r\r\n \"nsfw\": \"false\",\r\r\n \"dob\": null,\r\r\n \"pronoun\": \"hehim\",\r\r\n \"ban\": null,\r\r\n \"created_at\": \"2019-10-21 07:40:23\",\r\r\n \"last_posted\": \"2021-07-30 01:19:36\",\r\r\n \"posts\": [\r\r\n {\r\r\n \"postid\": \"522\",\r\r\n \"username\": \"DarkMatter\",\r\r\n \"nsfw\": \"false\",\r\r\n \"content\": \"API is cool\",\r\r\n \"from\": \"API testing\",\r\r\n \"locked\": \"false\",\r\r\n \"edited\": null,\r\r\n \"post_date\": \"2021-07-30 12:18:31\"\r\r\n }\r\r\n ],\r\r\n \"replies\": [\r\r\n {\r\r\n \"replyid\": \"1473\",\r\r\n \"postid\": \"522\",\r\r\n \"username\": \"DarkMatter\",\r\r\n \"nsfw\": \"false\",\r\r\n \"content\": \"Cool reply with the API\",\r\r\n \"from\": \"API testing\",\r\r\n \"edited\": null,\r\r\n \"reply_date\": \"2021-07-30 12:49:12\"\r\r\n }\r\r\n ]\r\r\n}\r\r\n```\r\r\n\r\r\n\r\r\n#### Ping the user:\r\r\n##### Command: ```user = client.user.ping()```\r\r\n##### The response: \r\r\n```user.json() ```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Pong\",\r\r\n \"username\": \"DarkMatter\",\r\r\n \"online_status\": \"2021-07-30 13:03:18\"\r\r\n}\r\r\n```\r\r\n#### Get the user:\r\r\n##### Command: ```user = client.user.get(username=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| username | ```str``` | The user you want to get | \r\r\n##### The response: \r\r\n```user.json() ```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Found user\",\r\r\n \"uuid\": null,\r\r\n \"username\": \"embed\",\r\r\n \"displayname\": \"embed\",\r\r\n \"followers\": 2,\r\r\n \"pfp\": \"https://i.imgur.com/Md5C3uy.gif\",\r\r\n \"banner\": null,\r\r\n \"coins\": \"0\",\r\r\n \"rank\": \"founder\",\r\r\n \"eventr\": \"lgbt19\",\r\r\n \"patreon\": \"true\",\r\r\n \"booster\": \"true\",\r\r\n \"bio\": \"the best bubblez dev.\",\r\r\n \"nsfw\": \"false\",\r\r\n \"pronoun\": \"none\",\r\r\n \"ban\": null,\r\r\n \"created_at\": \"2019-10-22 12:04:01\",\r\r\n \"last_posted\": null,\r\r\n \"posts\": [\r\r\n {\r\r\n \"postid\": \"280\",\r\r\n \"username\": \"embed\",\r\r\n \"nsfw\": \"false\",\r\r\n \"content\": \"gamimg\",\r\r\n \"from\": null,\r\r\n \"locked\": \"false\",\r\r\n \"edited\": null,\r\r\n \"post_date\": \"2020-08-09 17:15:19\"\r\r\n }\r\r\n ]\r\r\n}\r\r\n```\r\r\n\r\r\n<br>\r\r\n\r\r\n## Posts stuff:\r\r\n#### Send a Post:\r\r\n##### Command: ```post = client.post.send(message=.., from_=.., locked=.., nsfw=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :---\r\r\n| message | ```str``` | The message in the post. | \r\r\n| from_ | ```str``` | The little message next to the date. | \r\r\n| locked | ```bool``` | if True, no-one can reply. | \r\r\n| nsfw | ```bool``` | if True, You need to set DOB (Date Of birth) to see this| \r\r\n##### The response: \r\r\n```post.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"message sent\",\r\r\n \"post\": \"API is cool\",\r\r\n \"from\": \"API testing\",\r\r\n \"locked\": \"false\",\r\r\n \"pnsfw\": \"false\",\r\r\n \"postid\": 522\r\r\n}\r\r\n```\r\r\n\r\r\n#### Get a post\r\r\n##### Command: ```post = client.post.get(postid=..)```\r\r\n##### The response: \r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| postid | ```int``` | The postid of the post you want to get. | \r\r\n\r\r\n```post.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Found post\",\r\r\n \"postid\": \"522\",\r\r\n \"username\": \"DarkMatter\",\r\r\n \"pfp\": \"https://i.imgur.com/jAOd5gE.png\",\r\r\n \"nsfw\": \"false\",\r\r\n \"content\": \"API is cool\",\r\r\n \"from\": \"API testing\",\r\r\n \"locked\": \"false\",\r\r\n \"edited\": null,\r\r\n \"post_date\": \"2021-07-30 12:18:31\",\r\r\n \"replies\": [\r\r\n {\r\r\n \"replyid\": \"1473\",\r\r\n \"username\": \"DarkMatter\",\r\r\n \"pfp\": \"https://i.imgur.com/jAOd5gE.png\",\r\r\n \"content\": \"Cool reply with the API\",\r\r\n \"from\": null,\r\r\n \"deleted\": null,\r\r\n \"edit_date\": null,\r\r\n \"reply_date\": \"2021-07-30 12:49:12\"\r\r\n }\r\r\n ]\r\r\n}\r\r\n```\r\r\n\r\r\n#### Delete a Post\r\r\n##### Command: ```post = client.post.delete(postid=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| postid | ```int``` | The id of the post you want to delete. | \r\r\n\r\r\n##### The response: \r\r\n```post.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Post 522 has been deleted\"\r\r\n}\r\r\n```\r\r\n\r\r\n#### Lock a post\r\r\n##### Command: ```post = client.post.lock(postid=.., togglelock=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| postid | ```int``` | The post id| \r\r\n| togglelock| ```bool```| If True, no-one can reply on your post! |\r\r\n##### The response: \r\r\n```post.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Post 522 has been locked\"\r\r\n}\r\r\n```\r\r\nor when unlocked\r\r\n```js\r\r\n{\r\r\n \"200\": \"Post 522 has been unlocked\"\r\r\n}\r\r\n```\r\r\n\r\r\n#### Get the latest post ```Global```\r\r\n##### Command: ```post = client.post.get_latest(id_only=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| id_only | ```bool``` | If False, than it returns a Post object else only the ID | \r\r\n##### The response: \r\r\n```post.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"latest Post\",\r\r\n \"postid\": \"522\"\r\r\n}\r\r\n```\r\r\n\r\r\n<br>\r\r\n\r\r\n## Reply's: \r\r\n#### Send a reply\r\r\n##### Command: ```reply = client.reply.send(message=.., postid=.., from_=.., nsfw=...)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :---\r\r\n| message | ```str``` | The message in the reply. | \r\r\n| postid | ```int``` | The postid you want to reply on | \r\r\n| from_ | ```str``` | The little message next to the date. | \r\r\n| nsfw | ```bool``` | if True, You need to set DOB (Date Of birth) to see this| \r\r\n##### The response: \r\r\n```reply.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"reply sent\",\r\r\n \"reply\": \"Cool reply with the API\",\r\r\n \"postid\": \"522\",\r\r\n \"from\": \"API testing\",\r\r\n \"rnsfw\": \"false\",\r\r\n \"replyid\": 1473\r\r\n}\r\r\n```\r\r\n\r\r\n#### Delete a reply\r\r\n##### Command: ```reply = client.reply.delete(replyid=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :---\r\r\n| replyid | ```int``` | The postid you want to reply on | \r\r\n\r\r\n##### The response: \r\r\n```reply.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"reply 1473 has been deleted\"\r\r\n}\r\r\n```\r\r\n\r\r\n#### Edit a reply()\r\r\n##### Command: ```reply = client.reply.edit(replyid=.., message=..)```\r\r\n| Arguments | Type | Value |\r\r\n| :--- | :--- | :--- | \r\r\n| replyid | ```int``` | The postid you want to reply on | \r\r\n| message | ```str``` | the message than will replace the old one | \r\r\n##### The response: \r\r\n```reply.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"Reply 1473 has been updated\"\r\r\n }\r\r\n```\r\r\n\r\r\n<br>\r\r\n\r\r\n## Blog:\r\r\n#### Get the latest Blog post!()\r\r\n##### Command: ```devlog = client.devlog.get_latest()```\r\r\nThis command returns the latest Blog! \r\r\n##### The response: \r\r\n```devlog.json()```\r\r\n```js\r\r\n{\r\r\n \"200\": \"latest Blog Post\",\r\r\n \"blogid\": \"\",\r\r\n \"blogposter_username\": \"\",\r\r\n \"blogposter_displayname\": \"\",\r\r\n \"blogposter_pfp\": \"\",\r\r\n \"blogcontent\": \"\",\r\r\n \"blogdate\": \"1990-01-01 00:00:00\"\r\r\n}\r\r\n```\r\r\n\r\r\n### \r\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Api Module for https://bubblez.app/ and websockets",
"version": "0.0.6",
"split_keywords": [
"python",
"api",
"websockets",
"bubblez"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f868b674888094755ed45a8a112e79a197b6753be4637bef11598802f00c8aa3",
"md5": "cc5a7779685ced7011f552bb146643be",
"sha256": "4e9ea21f319ec37e524d78f78831bb943485da9b63eb80531fc2347a0736bfac"
},
"downloads": -1,
"filename": "Bubblez.py-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "cc5a7779685ced7011f552bb146643be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15396,
"upload_time": "2023-01-03T12:02:36",
"upload_time_iso_8601": "2023-01-03T12:02:36.998321Z",
"url": "https://files.pythonhosted.org/packages/f8/68/b674888094755ed45a8a112e79a197b6753be4637bef11598802f00c8aa3/Bubblez.py-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-03 12:02:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "bubblez.py"
}