Skip to main content

Python wrapper for the Loops.so API

Project description

loopsapi

Python wrapper for Loops.so API

Install

pip3 install loopsapi

Example

import os
import loopsapi

API_KEY = os.environ['LOOPS_API_KEY']

api = loopsapi.Loops(api_key=API_KEY)
test = api.apikey.test()
print(print)

Classes and methods

Loops.apikey.test - Test if API KEY is valid

Loops.custom_fields.list - List custom fields

Loops.transactional_emails.send - Send transactional email

Loops.events.send - Send event

Loops.contacts.find - Find contact
Loops.contacts.create - Create contact
Loops.contacts.update - Update contact
Loops.contacts.delete - Delete contact

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

loopsapi-0.2.tar.gz (4.3 kB view hashes)

Uploaded Source

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