buzzapi-0.1.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | buzzapi-0.1.1 |
| نام | buzzapi |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zach Grammon |
| ایمیل نویسنده | zachgrammon@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/buzzapi/ |
| مجوز | - |
# buzzapi
An API client for the Agilix/Buzz LMS API
## Overview
The Agilix Buzz API is RESTful API for the Buzz LMS that accepts XML by default,
but can also accept and serve JSON. It consists of both paginated un-paginated
data, and requires a login token cookie for most endpoints.
The `buzzapi` package handles storing the login token as a cookie to be passed
with each request, as well as pagination on the relevant endpoints.
## Setup
```
from buzzapi import Client
# Creating a new client
client = Client("school/myusername", "mypassword")
```
## Examples
### Get resources from the GetUserActivityStream endpoint
```
client.get_user_activity_stream(12345, 54321)
# => List of Activities
```
### Start IDLE with initialized client for testing
- Note that you will need to set the environment variables according to the .env_example
```
python -i buzzapi/client.py
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.2,<3.0.0 | requests |
| >=1.0.0,<2.0.0 | python-dotenv |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl buzzapi-0.1.1:
pip install buzzapi-0.1.1.whl
نصب پکیج tar.gz buzzapi-0.1.1:
pip install buzzapi-0.1.1.tar.gz