Skip to content

myemma/EmmaPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emma API Wrapper (Python)

Build Status

Examples

Load all members

from emma.model.account import Account
acct = Account(account_id="x", public_key="y", private_key="z")
acct.members.fetch_all() # Get a dictionary of all members for the account (paginated)

Lazy-load a single member by ID

from emma.model.account import Account
acct = Account(account_id="x", public_key="y", private_key="z")
member = acct.members.get(200) # Member() or None

Lazy-load a single member by email

from emma.model.account import Account
acct = Account(account_id="x", public_key="y", private_key="z")
member = acct.members.get("test@example.com") # Member() or None

About

A Python wrapper for Emma's API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages