Skip to main content

Python wrapper for Trumpia API

Project description

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
-----
```python
from trumpia import TrumpiaAPI


api = TrumpiaAPI(your_username, your_api_key)
campaign_lists = api.get_lists()
for i, trumpia_list in enumerate(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.

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

trumpia-0.1.0.dev5.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file trumpia-0.1.0.dev5.tar.gz.

File metadata

  • Download URL: trumpia-0.1.0.dev5.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for trumpia-0.1.0.dev5.tar.gz
Algorithm Hash digest
SHA256 78eea63414f6e192c5873acbe5f9b0db45da63ab374e6fe34a923cb7bb5f2ef4
MD5 a3993cabeeac4a2b83d3f88cc522f67a
BLAKE2b-256 2753ee60bd7d8d438d83cc0837c4191d26da9e91a87ec05d6d328f1d181fca57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page