معرفی شرکت ها


async-customerio-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Async CustomerIO Client - a Python client to interact with CustomerIO in an async fashion.
ویژگی مقدار
سیستم عامل -
نام فایل async-customerio-1.0.0
نام async-customerio
نسخه کتابخانه 1.0.0
نگهدارنده ['Healthjoy Developers']
ایمیل نگهدارنده ['developers@healthjoy.com']
نویسنده Aleksandr Omyshev
ایمیل نویسنده oomyshev@healthjoy.com
آدرس صفحه اصلی https://github.com/healthjoy/async-customerio
آدرس اینترنتی https://pypi.org/project/async-customerio/
مجوز MIT
# async-customerio is a lightweight asynchronous client to interact with CustomerIO [![PyPI download month](https://img.shields.io/pypi/dm/async-customerio.svg)](https://pypi.python.org/pypi/async-customerio/) [![PyPI version fury.io](https://badge.fury.io/py/async-customerio.svg)](https://pypi.python.org/pypi/async-customerio/) [![PyPI license](https://img.shields.io/pypi/l/async-customerio.svg)](https://pypi.python.org/pypi/async-customerio/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/async-customerio.svg)](https://pypi.python.org/pypi/async-customerio/) [![CI](https://github.com/healthjoy/async-customerio/actions/workflows/ci.yml/badge.svg)](https://github.com/healthjoy/async-customerio/actions/workflows/ci.yml) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/3629b50827ef4e89ba0eaa5c09584273)](https://www.codacy.com/gh/healthjoy/async-customerio/dashboard?utm_source=github.com&utm_medium=referral&utm_content=healthjoy/async-customerio&utm_campaign=Badge_Coverage) * Free software: MIT license * Requires: Python 3.7+ ## Features * Fully async * Interface preserved as Official Python Client `customerio` has * Send push notification * Send messages ## Installation ```shell script $ pip install async-customerio ``` ## Getting started ```python import asyncio from async_customerio import AsyncCustomerIO, Regions async def main(): site_id = "Some-id-gotten-from-CustomerIO" api_key = "Some-key-gotten-from-CustomerIO" cio = AsyncCustomerIO(site_id, api_key, region=Regions.US) await cio.identify(id=5, email="customer@example.com", first_name="John", last_name="Doh", subscription_plan="premium") await cio.track(customer_id=5, name="product.purchased", product_sku="XYZ-12345", price=23.45) if __name__ == "__main__": asyncio.run(main()) ``` #### Instantiating `AsyncCustomerIO` object Create an instance of the client with your [Customer.io credentials](https://fly.customer.io/settings/api_credentials). ```python from async_customerio import AsyncCustomerIO, Regions cio = AsyncCustomerIO(site_id, api_key, region=Regions.US) ``` `region` is optional and takes one of two values — `Regions.US` or `Regions.EU`. If you do not specify your region, we assume that your account is based in the US (`Regions.US`). If your account is based in the EU and you do not provide the correct region (`Regions.EU`), we'll route requests to our EU data centers accordingly, however this may cause data to be logged in the US. ## License ``async-customerio`` is offered under the MIT license. ## Source code The latest developer version is available in a GitHub repository: [https://github.com/healthjoy/async-customerio](https://github.com/healthjoy/async-customerio)


نیازمندی

مقدار نام
<1.0.0 httpx


زبان مورد نیاز

مقدار نام
>=3.7.15,<3.12 Python


نحوه نصب


نصب پکیج whl async-customerio-1.0.0:

    pip install async-customerio-1.0.0.whl


نصب پکیج tar.gz async-customerio-1.0.0:

    pip install async-customerio-1.0.0.tar.gz