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 details)

Uploaded Source

File details

Details for the file loopsapi-0.2.tar.gz.

File metadata

  • Download URL: loopsapi-0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for loopsapi-0.2.tar.gz
Algorithm Hash digest
SHA256 76d5da2a9e5872d01738ecd2239be53e4bceb2826ace5fd14d9025ef96abe4d2
MD5 33b6e1b06c085c9f8c8496938e7e4599
BLAKE2b-256 2b7c1205e41de6dcf6741000f6a426fb484e29e20ecb1b5b9e2c07451aafee8a

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