Metadata-Version: 2.3
Name: rajaongkir-python-sdk
Version: 0.1.0
Summary: this is python library for support RajaOngkir API
Project-URL: Repository, https://github.com/wihlarkop/rajaongkir-py
Project-URL: Issues, https://github.com/wihlarkop/rajaongkir-py/issues
Author-email: Wihlarko Prasdegdho <wihlarko26@gmail.com>
License: MIT License
        
        Copyright (c) 2024 Wihlarko Prasdegdho and another contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: raja_ongkir,rajaongkir,rajaongkir-py
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27.2
Requires-Dist: pydantic>=2.9.2
Description-Content-Type: text/markdown

# Unofficial RajaOngkir SDK for Python

[RajaOngkir](https://rajaongkir.com/) is an API that provides a powerful logistics solution for integrating various
shipping functionalities in Indonesia. For RajaOngkir developer documentation you can
check [here](https://rajaongkir.com/dokumentasi)

This SDK allows you to interact with the RajaOngkir API from your Python code.

## Features

- [x] Get province (Starter and Pro Plan)
- [x] Get City (Starter and Pro Plan)
- [ ] Get Sub district (Pro Plan)
- [x] Check Cost (Starter and Pro Plan)
- [ ] Get International Origin (Pro Plan)
- [ ] Get International Destination (Pro Plan)
- [ ] Check International Cost (Pro Plan)
- [ ] Check Currency (Pro Plan)
- [ ] Check WayBill (Pro Plan)

## Installation

Install rajaongkir sdk

```bash
  pip install rajaongkir-py
```

## Usage/Examples

```python
from raja_ongkir import RajaOngkirAPI

api_key = "your_api_key"
rajaongkir = RajaOngkirAPI(api_key=api_key)
response = rajaongkir.province()
print(response)
```

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
