Skip to main content

python-educabiz

API client to interact with educabiz.com portals.

Install

pip install educabiz

Usage

Using multiple schools

Educabiz does not provide a way to choose the school during login, matching the behavior of the Educabiz mobile app.

The portal redirects to the right school based on the unique email/password combination, so when using multiple schools with the same email address, use the password associated with the intended school. If the same password is currently used for multiple schools, log in to the first school that opens and change the password there.

The old password will then redirect to the other school.

Example

from educabiz.client import Client

eb_client = Client(username, password, login_if_required=True)
data = eb_client.home()
print(f'School: {data["schoolname"]}')
children = eb_client.school_qrcodeinfo()['child']
for child in children.values():
    child_id = child['id']
    home_data = data['children'][child_id]
    print(f'{child_id}:')
    print(f'* Name: {html.unescape(child["name"])}')
    print(f'* Photo URL: {home_data["photo"]}')
    presence = child['presence'][0]
    if presence['id'] == 'undefined':
        presence_str = '(none)'
    elif presence['absent']:
        presence_str = f'absent ({presence["notes"]})'
    elif presence['hourOut'] == '--:--':
        presence_str = f'checked in at {presence["hourIn"]}'
    else:
        presence_str = f'checked in at {presence["hourIn"]} and out at {presence["hourOut"]}'
    print(f'* Presence: {presence_str}')

Build

Check out CONTRIBUTING.md

Metadata

Release files for educabiz 0.0.7

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

Source distribution (sdist)

Source distribution for educabiz 0.0.7
File Size Uploaded
educabiz-0.0.7.tar.gz 6.5 kB Details

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / educabiz-0.0.7.tar.gz

Download URL educabiz-0.0.7.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4342c55cce084f66262d0af0eb59cdb481301a176d814bb94c06832cc0776722
BLAKE2b-256 checksum
How to use checksums
103e5746b45b763a9d5f9e36c2a38aee1138dc7e68f8917022897a0758494e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / educabiz-0.0.7-py3-none-any.whl

Download URL educabiz-0.0.7-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9e00e8a988c387be8fe1ad41fb8827024d14f7c327de499b7557e474f5b9c59
BLAKE2b-256 checksum
How to use checksums
125d10a4bb6adac035b851223d23e8376d03a2b73a23c3c4162691dc09175dbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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