Skip to main content

binusmaya_py

Python wrapper for Binusmaya web API

Usage

  1. Install package

    pip install binusmayapy
    

Example

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:

[
    {
        "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

Metadata

Release files for binusmayapy 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for binusmayapy 1.0.1
File Size Uploaded
binusmayapy-1.0.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for binusmayapy 1.0.1
File Interpreter ABI Platform
binusmayapy-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / binusmayapy-1.0.1.tar.gz

Download URL binusmayapy-1.0.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5e9b08c429c915c12248214e752f564f017e2ae18dec1b2df4395bae24924b3e
BLAKE2b-256 checksum
How to use checksums
30f48a634240501756b6006fab27eb8449666a20b87629b3e406859f92223140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / binusmayapy-1.0.1-py3-none-any.whl

Download URL binusmayapy-1.0.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df5fe473cb02382223fe07196ff3399900cd95f580f1b9436407ffd1ddbe1652
BLAKE2b-256 checksum
How to use checksums
b35b47983ad4d958473035328bb089d84fd67ae5b43d4dccc8315175f603e2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page