Skip to main content

Maiaddy Cloud Essence Edurra platform for educational planning and resource management

Project description

EdurraSdk Python SDK 1.0.0

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

Versions

  • API version: 1.0.1
  • SDK version: 1.0.1

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.1.tar.gz (25.1 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.1-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edurra-1.0.1.tar.gz
  • Upload date:
  • Size: 25.1 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.1.tar.gz
Algorithm Hash digest
SHA256 8bfcc263779e6d3f3c7b088dbd86fcaea45d9cb23b933a87f7bde2e05f2cc257
MD5 6bc1de9f7c530bae592dc9448f9033e1
BLAKE2b-256 27b52cc29f2eec96b07295e2d583b1e275709b9ab79e7a8e744c809efb86bfb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edurra-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 44.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17942489013ccdba1284dbdb01638adbfefcd470e44fdb5c5d3ac55014934f26
MD5 004fe9c2fe2cdc671270d41bcd903e17
BLAKE2b-256 9d274aef7f4b289286d2577bdc56df966a40b2b087f802192df22c4cd28bc98d

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