A web scraper for TIU student system
Project description
tiupy
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.