Metadata-Version: 2.1
Name: microsky
Version: 0.1.1
Summary: Simple bsky.app client
Home-page: https://github.com/nakagami/microsky
Author: Hajime Nakagami
Author-email: nakagami@gmail.com
License: MIT
Keywords: Bluesky
License-File: LICENSE

=============
microsky
=============

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