Skip to main content

studip python api using JSONAPI

Project description

PyPI Downloads

studipy - StudIP python API

StudIP Python API wrapper using StudIPs JSONAPI

Easy to use and strongly typed

INSTALLATION

pip install --upgrade studipy

From source

poetry build
pip install dist/....

Usage - Example

import studipy
import os
from dotenv import load_dotenv

load_dotenv()

username = os.getenv("STUDIP_LOGINNAME")
password = os.getenv("STUDIP_LOGINSECRET")
base_url = os.getenv("STUDIP_BASEURL")

# create a new client object
client = studipy.Client(username=username, password=password, base_url=base_url)

# get a list of Course objects (specified in types.py)
courses = client.Courses.get_courses()
for c in courses:
        print(c.title)

Roadmap

Authentication

  • Basic (Username, Password)
  • Oauth

Users

  • Get Users
  • Get Self
  • Search for Users

Messages

  • Get Messages
  • Send Messages
  • Delete Messages
  • Mark Messages Read/Unread

Files and Folders

  • Get Course Folders
  • Get Subfolders
  • Get Files in Folder
  • Upload Files
  • Delete Files
  • Change File Metadata
  • Change File Content
  • Download Files
  • Create Folders
  • Delete Folders
  • Mark files read
  • Move Folders/Files
  • Copy Folders/Files (STALE)

Calendar/Schedule

  • View Calendar
  • Download Calendar ics
  • Get Schedule for current Semester
  • Edit Calendar

Plugins

You will have to implement custom plugins yourself. They might have registered JSONAPI routes, good luck

Documentation

  • Write Documentation
  • Extend Examples

Buy me a Coffee!

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

studipy-0.2.5.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

studipy-0.2.5-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file studipy-0.2.5.tar.gz.

File metadata

  • Download URL: studipy-0.2.5.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for studipy-0.2.5.tar.gz
Algorithm Hash digest
SHA256 6dccf4204d97c00e8f62816ded1bbf0f15612ca5e0b71b90ad78029e9b5c04f1
MD5 82d6ae4750f2a8621319f3c545d6711e
BLAKE2b-256 75bc82a1cbdf8c586366e2cdabeef7e6c8582cd7839e60d1d59b1cd026cdbe5d

See more details on using hashes here.

File details

Details for the file studipy-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: studipy-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for studipy-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 af4a40ac48ef8c38588a393115b78104aeaa6706fff1c22b414f067eabf61eeb
MD5 7cb22d8446322ff687c78cc5c08611bc
BLAKE2b-256 6e50f778bc30211be9eb1c83e0f034bd6aea8a9cb2cbcc2eb291066a543c69d3

See more details on using hashes here.

Supported by

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