معرفی شرکت ها


cgs-0.1.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Create & update reservations at Cégep Sainte-Foy gym with this simple api.
ویژگی مقدار
سیستم عامل -
نام فایل cgs-0.1.9
نام cgs
نسخه کتابخانه 0.1.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده msa360
ایمیل نویسنده arnaud25@icloud.com
آدرس صفحه اصلی https://github.com/Msa360/cgs-csfoy-gym
آدرس اینترنتی https://pypi.org/project/cgs/
مجوز MIT
# CGS API [![PyPI - Downloads](https://img.shields.io/pypi/dm/cgs?color=blue)](https://pypi.org/project/cgs) [![PyPI](https://img.shields.io/pypi/v/cgs?color=%230eb00e)](https://pypi.org/project/cgs) ### Command line tool in python to place & update reservations at Cégep Sainte-Foy gym. ## Installing ```bash pip install cgs ``` ## Usage ```python import cgs # login and create a reservation cgs.login_create(username, password, uid, scheduleId, resourceId, day, starthour, endhour) ``` ## Command line usage In order to get started you will need to first set matricule & password and run `--get-uid` to fetch uid (make sure that your matricule & password are correct else you will not be able to get your uid). ```bash cgs config --mat your_matricule cgs config --pwd your_password cgs config --get-uid ``` verify credentials with: `cgs config --show` list options with: `cgs --help` ### ex: create reservation at 2023-01-12 at 12:00 (time range is 0-24) ```bash cgs create -d 2023-01-12 -t 12 ``` list possible flags with: `cgs create --help` ## Contributing Feel free to contribute! DM me on twitter [@msa720360](https://twitter.com/msa720360) if you have any questions. Don't hesitate to report issues if you see bugs.


نیازمندی

مقدار نام
>=4.10.0 beautifulsoup4
>=2021.10.8 certifi
>=2.0.12 charset-normalizer
>=3.3 idna
>=2.27.1 requests
>=2.3.1 soupsieve
>=1.26.8 urllib3


نحوه نصب


نصب پکیج whl cgs-0.1.9:

    pip install cgs-0.1.9.whl


نصب پکیج tar.gz cgs-0.1.9:

    pip install cgs-0.1.9.tar.gz