Metadata-Version: 2.4
Name: turkeysms-python
Version: 4.0.0
Summary: Official TurkeySMS API V4 Python SDK
Home-page: https://github.com/turkeysms/python
Author: TurkeySMS Team
Author-email: support@turkeysms.com.tr
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.1
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# TurkeySMS Python SDK (Official) 🐍

Official **TurkeySMS Python Developer Kit** — A robust, Pythonic interface for the V4 API. Streamline your SMS and verification workflows with absolute ease.

## 🛠 Installation

Install the package via pip:

```bash
pip install turkeysms-python
```

---

## 🚀 Quick Start

### Initialize Client

```python
from turkeysms import TurkeySmsClient

client = TurkeySmsClient(api_key="your_api_key_here")
```

### Sending Standard SMS

```python
response = client.send_sms(
    title="SENDER",
    mobile="905xxxxxxxxx",
    text="Hello from TurkeySMS Python!",
    lang=0  # 0: English, 1: Turkish, 2: Arabic
)
print(response)
```

### Sending OTP SMS

Ultra-fast delivery for verification:

```python
response = client.send_otp(
    mobile="905xxxxxxxxx",
    lang=1,
    digits=4
)
```

### Advanced OTP (Custom Text)

```python
response = client.send_detailed_otp(
    title="SENDER",
    mobile="905xxxxxxxxx",
    text="Your security code is: TS-CODE",
    lang=1
)
```

### Check Balance

```python
balance = client.get_balance()
print(f"Current Balance: {balance.get('balance')}")
```

---

## 🛡 Security

If you discover any security-related issues, please email support@turkeysms.com.tr.

## 📄 License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

---
© 2026 **TurkeySMS Bilişim ve İletيشim Hizmetleri Tic. Ltd. Şti.**
