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.

This SDK was generated by liblab

Versions

  • API version: 1.0.0
  • SDK version: 1.0.0

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.0.tar.gz (25.2 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.0-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edurra-1.0.0.tar.gz
  • Upload date:
  • Size: 25.2 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.0.tar.gz
Algorithm Hash digest
SHA256 f65bc15222900da8627389b6589c6ead809c4f2c2d2174273ea6a14b7d7ced02
MD5 4344f1270a1dae7b126c5d1f485986f1
BLAKE2b-256 091ad0813552931f484d8a1f86b1d6643b3e05a102f1d51bc320bd508c6fd30f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edurra-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 44.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72157d243ed445633911aa522cfcf190e598a3ba96226b3db905f1400d43e8ab
MD5 fb86c8a667b6a32af25a6ff06c576385
BLAKE2b-256 adfac2f8f5dc9d94327a822a1b6da2cf59583429fcf56ae526a156ec7c8c1696

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