Skip to main content

A module for interacting with the populi api.

Project description

Populi

This module interacts with the populi api, handling pagination, and rate limiting using pycurl. Most every command found here, can be accessed via pythonic methods. I have attempted to keep the two in sync

Example

import populi

populi.initialize(
    endpoint='https://example_campus.populi.web.com/api/index.php',
    access_key='example access key',
    asXML=True
)

# returns transactions as xml
results = populi.get_transactions(start_date='2012-10-01', end_date='2012,10-02')

Versions

0.0.6

  • Updated Command list as of commands shown on populi on May 25th, 2020
  • Fixed downloadFile and downloadBackup to return bytes.

0.0.7

  • Enabled passing curl options via initialize(). The added option list is in the format of tuples: (pycurl.OPTION, value).

Project details


Download files

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

Files for populi-mrobison, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size populi-mrobison-0.0.8.tar.gz (33.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page