Skip to main content

A web scraper for TIU student system

Project description

tiupy

GitHub last commit PyPI - Downloads

A Python module for interacting with the TIU (Tishk International University) website, offering features like login, profile information retrieval, and course data access.

Installation

You can install tiupy using pip:

pip install tiupy

Alternatively, clone the repository and install it manually:

git clone https://github.com/heromr/tiupy.git
cd tiupy
python setup.py install

Getting Started

To get started with the Tiu Python Module, follow these steps:

1. Import the module

from tiupy import Tiu

2. Create an instance of Tiu

tiu = Tiu()

You can customize the initialization by providing optional parameters like proxies and request timeout.

Methods

The Tiu module provides the following methods for interaction:

`login(username: str, password: str)`

Login to the TIU website.

tiu.login(username='your_username', password='your_password')

`sid_login(SID: str)`

Login using a session ID (SID).

tiu.sid_login(SID='your_session_id')

`logout()`

Log out from the TIU website.

tiu.logout()

`get_courses_data()`

Fetch course data from the TIU website.

courses_data = tiu.get_courses_data()

License

This module is open-source and available under the MIT License. See the LICENSE file for more details.

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

tiupy-0.0.11.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

tiupy-0.0.11-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

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