Skip to content

aleksarias/trumpia-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trumpia API

A simple Python wrapper for Trumpia's messaging API.

Features

  • An object oriented interface for Trumpia's API
  • Will eventually support all of Trumpia's API calls

Installation

 pip install trumpia 

Usage

from trumpia import TrumpiaAPI
    
    
api = TrumpiaAPI(your_username, your_api_key)
campaign_lists = api.get_lists()
for i, trumpia_list in enumerate(campaign_lists):
    list_details = api.get_list_details(trumpia_list)
    # Print the list details as a dictionary
    print(list_details.__dict__)

License

See LICENSE for details.

About

Python wrapper around Trumpia's API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages