Python wrapper around Splio-EmailForge REST API 1.0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spliopy
.gitignore
LICENSE
README.md
setup.py

README.md

spliopy

Python wrapper around Splio-EmailForge REST API 1.0

Installation

pip install spliopy

Usage

from spliopy.spliopy import SplioConnection
connection = SplioConnection(API_KEY, UNIVERSE)
  • Get universe database fields
    connection.get_fields() 
  • Get universe avaiable lists
    connection.get_lists() 
  • Get all known attributes for a contact identified by email.
    connection.get_contact('example@example.com') 
  • Create a new contact. It is mandatory to provide the email address within the fields.
    connection.add_contact({'email':'example@example.com', 'firstname'='example'....}) 
  • Update an existing contact identified by email.
    connection.update_contact('example@example.com', {'firstname':'example_updated'...}) 
  • Check if email is blacklisted in the universe.
    connection.is_blacklisted('example@example.com') 
  • Blacklist email in the universe.
    connection.blacklist('example@example.com')