Metadata-Version: 2.1
Name: remove-bg-api
Version: 0.2.1
Summary: Remove.bg Python API Wrapper
Home-page: https://github.com/OPHoperHPO/remove_bg_api
Author: Anodev (OPHoperHPO)
Author-email: netbook21@mail.ru
License: MIT
Keywords: remove_bg_api,removebg,api,wrapper
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown

# 🍰 `remove-bg-api` - remove.bg Python API Wrapper 🍰
**********************************************************************
### 📄Description:
This library is used to interact with the *remove.bg* API to remove the background from the image. \
**This library implements 100% API of this service.**
**********************************************************************
### 🧷Dependencies:
```requests```
**********************************************************************
### 🔖Setup:
#### 🏷 Simple install using pip:
`pip3 install remove-bg-api`
#### 🏷 Install from source:
* Clone this repository.
* Install all the dependencies from **requirements.txt**: ```pip3 install -r requirements.txt```
* Install ``python3 setup.py install``
**********************************************************************
### 📙[Documentation](https://ophoperhpo.github.io/remove-bg-api/)
**********************************************************************
### 🧰Examples:
* **Remove background from image:** 
    ```
    from remove_bg_api import RemoveBg
    # Initialize api wrapper
    removebg = RemoveBg(API_TOKEN)  
    # Send and save the finished image
    image = removebg.remove_bg_file(input_path="imgs/a.jpg", out_path="./a.png", size="preview", raw=False)  
    # Print path
    print("Image was saved along the path: {}".format(image))
    ```
* **Show account total balance:** 
    ```
    from remove_bg_api import RemoveBg
    removebg = RemoveBg("API_TOKEN")  # Initialize api wrapper
    print("Account total balance: ", removebg.account.balance())
    ```
**See other examples in the [examples](../master/examples/) folder.**
**********************************************************************
### ⏳ TODO:
```
1) Add asyncio support. (0% done)
```


