Friendify Python SDK
The official Python SDK for the Friendify API. Build rich integrations and bots for the Friendify ecosystem.
Installation
pip install friendify-sdk
(Or clone the repository and install locally via pip install .)
Quick Start
Initialize the client with your access token (or bot token):
from friendify.client import FriendifyClient
client = FriendifyClient(token="YOUR_TOKEN_HERE")
# Get current user profile
me = client.users.get_me()
print(me)
# Search users
search_results = client.users.search(query="john", limit=5)
print(search_results)
# Execute a bot action in a group
action_result = client.groups.send_message(group_id="GROUP_ID_HERE", content="Hello from Python!")
print(action_result)
# Award XP to the user
xp_result = client.xp.award(action="DAILY_LOGIN", multiplier=1.5)
print(xp_result)
Resources
client.users: Manage users, fetch profiles, search, and check limits.client.groups: Manage group bots, roles, and execute bot actions.client.xp: Award XP for users completing specific actions.client.notify: Dispatch push notifications.
All methods are documented thoroughly with Docstrings, providing autocomplete and tooltips in your IDE.
Metadata
Release files for friendify-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| friendify_sdk-0.1.0.tar.gz | 4.7 kB | Without provenance | Details for friendify_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| friendify_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for friendify_sdk-0.1.0-py3-none-any.whl |
Total release size: 11.2 kB
Release files / friendify_sdk-0.1.0.tar.gz
| Download URL | friendify_sdk-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3949eb9bb6752a650e49226a3e373987b8c479bd5d9985495511a07d8ef01985
|
|
BLAKE2b-256 checksum How to use checksums |
65137fd966f711417c132fa60c8799df71611ad1eb9395cb0dd32a9a5e3790b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / friendify_sdk-0.1.0-py3-none-any.whl
| Download URL | friendify_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1306fad6691eedd2d22cf00b0aee11a668dccdd0b7dd0a9916b184ecbb37382c
|
|
BLAKE2b-256 checksum How to use checksums |
b352e62a69b33d86466e22ef2093ff152e133f523bf4cda20f428b2038fd18c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for friendify-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.