A wrapper for interacting with the AT Protocol API.
Project description
AT Protocol Python Library
A wrapper for interacting with the AT Protocol API.
Getting Started
To install the library, run:
pip install pyatproto
Quickstart
import pyatproto
import os
ENDPOINT = os.environ.get("ATPROTO_ENDPOINT")
USERNAME = os.environ.get("ATPROTO_USERNAME")
PASSWORD = os.environ.get("ATPROTO_PASSWORD")
ap = pyatproto.AtProtoConfiguration(ENDPOINT, USERNAME, PASSWORD)
create_post = ap.create_post("My First Post")
print(create_post)
Contributing
Contributions are welcome, especially those that add more methods to the library. Please open an issue or pull request to contribute to the library.
License
This project is licensed under an MIT 0 License.
Contributors
- capjamesg
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
pyatproto-0.1.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file pyatproto-0.1.tar.gz
.
File metadata
- Download URL: pyatproto-0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71898449ee2a4f344a1488b7ed2ad58a3fbdca6c56fe2a373f2b4e7ba06bf42 |
|
MD5 | 9967a43607ff82ec5e24becbb79ab640 |
|
BLAKE2b-256 | 689920023b5d570dd7a145bc8482b20d874a0cc03a1a32f6b37c9b305ad740bb |
File details
Details for the file pyatproto-0.1-py3-none-any.whl
.
File metadata
- Download URL: pyatproto-0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af27783e2fe1709fb7d89a590f7f163f85c571100a202e6c967b6179655daf89 |
|
MD5 | 4dc2a4e8f722c234d1dc1c1c8e4efb48 |
|
BLAKE2b-256 | 8b3d12c5b6755c00847b0395c790a5ad73b75239592d0e8d9077fa224326d6b7 |