Metadata-Version: 2.1
Name: tcclient
Version: 0.0.4
Summary: The cross-platform tool to with the TC server remotely.
Home-page: https://github.com/c-pher/tcclient
Author: Andrey Komissarov
Author-email: a.komisssarov@gmail.com
License: GNU General Public License v3.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

[![Version](https://img.shields.io/pypi/v/tcclient.svg?style=plastic&color=brightgreen)](https://img.shields.io/pypi/v/tcclient.svg)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tcclient?style=plastic&color=brightgreen)

# tcclient

Cross-platform tool to work with the TeamCity using REST API. The main goal is to run TeamCity configuration remotely,
for example, from a Telegram bot.

## Installation
For most users, the recommended method to install is via pip:
```cmd
pip install tcclient
```
## Import
```python
from tcclient import TCRestClient
```
---
## Usage
#### Command from usual user:
```python
import os
from tcclient import TCRestClient

token = os.environ['TOKEN']
base_url = "https://tc.test.local:8080"
client = TCRestClient(base_url=base_url, token=token)

projects = client.get_all_projects()
print(projects.json())
```

---

## Changelog

##### 0.0.4 (17.04.2022)

- external logger added

...

##### 0.0.2 (22.09.2021)

New methods added:

- get_project_parameters()
- get_project_parameter()
- set_project_parameter()
- get_bt_parameter()

##### 0.0.1.post1 (28.03.2021)

- minor fixes (typo and github link)

##### 0.0.1 (28.03.2021)

- initial commit


