ecologi-sdk-0.1.2
توضیحات
Ecologi Python SDK
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ecologi-sdk-0.1.2 |
| نام | ecologi-sdk |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Owen Voke <development@voke.dev> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ecologi-sdk/ |
| مجوز | - |
# Ecologi Python
[![Latest Version on PyPi][ico-version]][link-pypi]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-github-actions]][link-github-actions]
[![Buy us a tree][ico-treeware-gifting]][link-treeware-gifting]
An SDK to easily work with the Ecologi API
## Install
Via Pip
```shell
pip install ecologi-sdk
```
## Usage
```python
from ecologi import Ecologi
ecologi = Ecologi()
sites = ecologi.impact('owenvoke')
```
| Available Methods | Description |
|:------------------------------|:----------------------------------------------------------------------------|
| `ecologi.impact('user')` | Retrieve an `Impact` dict with details about the specified user. |
| `ecologi.user_exists('user')` | Retrieve a `boolean` response indicating whether the specified user exists. |
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Testing
```shell
hatch run test
```
## Security
If you discover any security related issues, please email security@voke.dev instead of using the issue tracker.
## Credits
- [Owen Voke][link-author]
- [All Contributors][link-contributors]
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Treeware
You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees [here][link-treeware-gifting].
Read more about Treeware at [treeware.earth][link-treeware].
[ico-version]: https://img.shields.io/pypi/v/ecologi-sdk.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-github-actions]: https://img.shields.io/github/workflow/status/owenvoke/ecologi-python-sdk/Tests.svg?style=flat-square
[ico-treeware-gifting]: https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen?style=flat-square
[link-pypi]: https://pypi.org/project/ecologi-sdk
[link-github-actions]: https://github.com/owenvoke/ecologi-python-sdk/actions
[link-treeware]: https://treeware.earth
[link-treeware-gifting]: https://ecologi.com/owenvoke?gift-trees
[link-author]: https://github.com/owenvoke
[link-contributors]: https://github.com/owenvoke/ecologi-python-sdk/contributors
نیازمندی
| مقدار | نام |
|---|---|
| - | requests>=2.28.1 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9.0 | Python |
نحوه نصب
نصب پکیج whl ecologi-sdk-0.1.2:
pip install ecologi-sdk-0.1.2.whl
نصب پکیج tar.gz ecologi-sdk-0.1.2:
pip install ecologi-sdk-0.1.2.tar.gz