Skip to main content

Maiaddy Cloud Essence Edurra platform for educational planning and resource management

Project description

Edurra Python SDK 1.0.3

Welcome to the Edurra SDK documentation. This guide will help you get started with integrating and using the Edurra SDK in your project.

Versions

  • API version: 1.0.3
  • SDK version: 1.0.3

About the API

Edurra API for Educational Planning and Resource Management. Powered by postcode-based intelligence and Loccode integration.

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: Python >= 3.7

Installation

To get started with the SDK, we recommend installing using pip:

pip install edurra

If you are using Python 3, you can use pip3 instead:

pip3 install edurra

Authentication

Access Token Authentication

The EdurraSdk API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

EdurraSdk(
    access_token="YOUR_ACCESS_TOKEN",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)

If you need to set or update the access token after initializing the SDK, you can use:

sdk.set_access_token("YOUR_ACCESS_TOKEN")

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

from edurra_sdk import EdurraSdk

sdk = EdurraSdk(timeout=10000)

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

from edurra_sdk import EdurraSdk

sdk = EdurraSdk(
    access_token="YOUR_ACCESS_TOKEN",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)

result = sdk.health.health_check()

print(result)

Async Usage

The SDK includes an Async Client for making asynchronous API requests. This is useful for applications that need non-blocking operations, like web servers or apps with a graphical user interface.

import asyncio
from edurra_sdk import EdurraSdkAsync

sdk = EdurraSdkAsync(
    access_token="YOUR_ACCESS_TOKEN",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)


async def main():
  result = await sdk.health.health_check()
  print(result)

asyncio.run(main())

Services

The SDK provides various services to interact with the API.

Below is a list of all available services:
Name
school_discovery
demographic_insights
catchment_area_analysis
transportation_planning
health

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models:
Name Description
GetSchoolsRequestDto
GetDemographicsRequestDto
GetCatchmentRequestDto
CurateBusRouteRequestDto

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edurra-1.0.3.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edurra-1.0.3-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file edurra-1.0.3.tar.gz.

File metadata

  • Download URL: edurra-1.0.3.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for edurra-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f23d0c02775e01970f8cc2cb3a9b68f02f2373741e3b83b5a36bc9cb342b1f33
MD5 3f0a10516b573b9639b10f97dc59470e
BLAKE2b-256 7af909d55251aa65f3a2380ab8c53df42878a625539186b3ae4c368c6db3d826

See more details on using hashes here.

File details

Details for the file edurra-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: edurra-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for edurra-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a99f3225ea2831e8e6a59c77e1c7882c14222cfd2f57c2110945880779ff7a
MD5 51a7bdc2a893c5dd57497445e3b9da94
BLAKE2b-256 1ca0d2bf86d94124f213bf88d419ccafef4c84232cdd6f30cd199abe33786ad2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page