Skip to main content

No project description provided

Project description

Dopt Users Python Library

pypi fern shield

Installation

Add this dependency to your project's build file:

pip install dopt-users-python-client 
# or
poetry add dopt-users-python-client

Usage

from dopt.client import DoptApi

client = DoptApi(api_key="YOUR_API_KEY")
client.users.identify_user(
    identifier="todd_solondz",
    properties={
        "first_name": "todd",
        "last_name": "solondz",
    },
)

Async Client

import asyncio
from dopt.client import AsyncDoptApi

async_client = AsyncDoptApi(api_key="users-usersKey_Mw==")

async def identify_user() -> None:
    client.users.identify_user(
        identifier="todd_solondz",
        properties={
            "first_name": "todd",
            "last_name": "solondz",
        },
    )

asyncio.run(identify_user())

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dopt_users_python_client-1.0.9.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

dopt_users_python_client-1.0.9-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file dopt_users_python_client-1.0.9.tar.gz.

File metadata

  • Download URL: dopt_users_python_client-1.0.9.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.15.0-1061-azure

File hashes

Hashes for dopt_users_python_client-1.0.9.tar.gz
Algorithm Hash digest
SHA256 0cc83c1997672cdf2ab66ac8e335bf67d972be7e17d03a4fc674adb89e91a0e3
MD5 f911c64f86510f3be2061d8589fe6d60
BLAKE2b-256 c1f341a905e8b1a183a214794201ccbd11611c67fee86fb9ab16047b107055d6

See more details on using hashes here.

File details

Details for the file dopt_users_python_client-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for dopt_users_python_client-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8e49873dd0b99f1996d021d5caa452c9e632eea053c249d73efa849c3ab0f07e
MD5 77663864a66fb37bc30038e2ba6f3aa5
BLAKE2b-256 c0d01214aa7fd82c615c661933a6a1c8ecf0867b07bd215e9baf6c39c676b7ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page