Simple bsky.app client
Project description
A Bluesky client for Python and MicoroPython.
Usage
See microsky.py and the Bluesky HTTP API reference https://docs.bsky.app/docs/category/http-reference for usage.
Example
Here is an example of doing the following
Retrieving a list of your posts
Post
Delete a post
import microsky
with microsky.createSession("xxx.bsky.social", "password") as session:
print(session.listPosts(did=session.did))
post = session.sendPost("Hello Bluesky!")
print(post)
print(session.listPosts(did=session.did))
print("delete")
print(session.deletePost(post["uri"]))
print(session.listPosts(did=session.did))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
microsky-0.1.1.tar.gz
(4.4 kB
view details)
File details
Details for the file microsky-0.1.1.tar.gz.
File metadata
- Download URL: microsky-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51d38488a74dbc791aae56b30d7fea90978357ff46dfaba29930d7caf3ece41b
|
|
| MD5 |
b34a1ff1231f31f0b3b9f78f1bd3b5e8
|
|
| BLAKE2b-256 |
87f56194fa99f5be7622de4e5a090fbb7b0529f60ad8d882ac00f90f7a060040
|