Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A simple python wrapper for the PersistIQ API

Project Description

API docs

Installation

Git

pip install git+git://github.com:tizz98/persistiq.git@master

PyPi

Coming soon

Usage

Setup

  • Add PERSIST_IQ_API_KEY='xxxxxxxx' to your environment variables
    • bash: echo export PERSIST_IQ_API_KEY='xxxxxxxx' >> ~/.bashrc
    • zsh: echo export PERSIST_IQ_API_KEY='xxxxxxxx' >> ~/.zshrc
    • windows: ???
  • Open up a new terminal or:
    • bash: . ~/.bashrc
    • zsh: . ~/.zshrc
    • windows: ???

Resources

User

from persistiq import User

for user in User.list():
    print user.id, user.name

Lead

from persistiq import Lead

# NOTE:
# Leads will automatically be paginated
# to only get the first 100 without pagination set:
# >>> Lead.paginate = False

for lead in Lead.list():
    print lead.id, lead.data

Campaign

from persistiq import Campaign

# NOTE:
# Campaigns will automatically be paginated
# to only get the first 100 without pagination set:
# >>> Campaign.paginate = False

for campaign in Campaign.list():
    print campaign.id, campaign.name
Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
persistiq-0.0.2.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Feb 25, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting