binusmayapy-1.0.1
توضیحات
Python wrapper for Binusmaya web API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | binusmayapy-1.0.1 |
| نام | binusmayapy |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Raditya Harya |
| ایمیل نویسنده | radityaharya02@gmail.com |
| آدرس صفحه اصلی | https://github.com/radityaharya/binusmaya_py |
| آدرس اینترنتی | https://pypi.org/project/binusmayapy/ |
| مجوز | - |
# binusmaya_py
Python wrapper for Binusmaya web API
## Usage
1. Install package
```bash
pip install binusmayapy
```
### Example
```python
from binusmayapy import bimay
import dotenv
import os
dotenv.load_dotenv()
bm = Bimay(token=os.getenv("BIMAY_TOKEN"))
print(bm.get_schedule_date(date_start = datetime.datetime.now()))
```
**output:**
```json
[
{
"class_id": "[redacted]",
"class_session_id": "[redacted]",
"course_name": "[redacted]",
"course_class": "[redacted]",
"session_number": 7,
"delivery_mode": "VC",
"join_url": "[redacted]",
"location": {
"location": null,
"location_value": null
},
"date_start": "[redacted]",
"date_end": "[redacted]",
"topic": "[redacted]",
"subtopic": ["[redacted]"],
"resources": [
{
"resource_id": "[redacted]",
"resource_name": "Video Conference",
"resource_type": null,
"resource_url": null,
"resource_is_open": true
},
{
"resource_id": "[redacted]",
"resource_name": "[redacted]",
"resource_type": null,
"resource_url": "[redacted]",
"resource_is_open": true
},
{
"resource_id": "[redacted]",
"resource_name": "[redacted]",
"resource_type": "pptx",
"resource_url": "[redacted]",
"resource_is_open": true
},
{
"resource_id": "[redacted]",
"resource_name": "[redacted]",
"resource_type": null,
"resource_url": "[redacted]",
"resource_is_open": true
},
{
"resource_id": "[redacted]",
"resource_name": "[redacted]",
"resource_type": null,
"resource_url": "[redacted]",
"resource_is_open": true
},
{
"resource_id": "[redacted]",
"resource_name": "Javascript Introduction",
"resource_type": null,
"resource_url": "[redacted]",
"resource_is_open": true
}
],
"is_ended": true
}
]
```
Disclaimer: This project is not affiliated, associated, authorized, endorsed by, or in any way officially related to "Bina Nusantara University" and or "BinusMaya" and it is used for personal use only. The author is not liable for any damage that may occur from the use of this project.
contact@radityaharya.me
نیازمندی
| مقدار | نام |
|---|---|
| - | python-dotenv |
| - | requests |
| - | selenium |
| - | selenium-wire |
نحوه نصب
نصب پکیج whl binusmayapy-1.0.1:
pip install binusmayapy-1.0.1.whl
نصب پکیج tar.gz binusmayapy-1.0.1:
pip install binusmayapy-1.0.1.tar.gz