Skip to main content

Api client for loops.so

Project description

Loops

PyPI 0.0.2

A convenient Python wrapper for the Lopps API.

Setup

pip install loopsso

Examples

from loopsso import LoopsClient
client = LoopsClinet('YOUR-API-KEY')

Contacts Usage

Create/Add

client.create( 
    email='adam@loops.so',
    firstName='Adam',
    lastName='Kaczmarek',
    favoriteColor='blue',
    userGroup='Founders',
    source='Signup form Service'
    )

Update

client.update( 
    email='adam@loops.so',
    firstName='Adam',
    lastName='Kaczmarek',
    favoriteColor='blue',
    userGroup='Founders',
    source='Signup form Service'
    )

Find

client.find(email='adam@loops.so', user_id='SomeUserId')

Delete

client.delete(email='adam@loops.so')

Send

client.send(email='adam@loops.so', event_name='conversion')

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

loopsso-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

loopsso-0.0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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