Skip to main content

Maiaddy Cloud Essence Edurra platform for educational planning and resource management

Project description

Edurra Python SDK 1.0.0

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.2
  • SDK version: 1.0.2

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.2.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.2-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edurra-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 314852346fb5ef5e060bb8227c16859c9a06b4f104f52c9fac07dd2564abcfd9
MD5 722f35ef8e675bf9152f5ecc2d8f26ce
BLAKE2b-256 681b1b35085b5e837187c58932ac933a95338878bf921b52603429bea7c8d512

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edurra-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5af8336c830e06feefd8f6ed3c2d1e873d8be276ec13a381ba3f57821f07526
MD5 f37fbcec07fa5caa1a017e6d1268bd44
BLAKE2b-256 2548bd8f63f75d5aaf73d9a6fa7f8e4e32d2538f02aac0c4ae745035f3aa8187

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