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.

Source Distribution

populi-mrobison-0.0.9.tar.gz (34.0 kB view details)

Uploaded Source

File details

Details for the file populi-mrobison-0.0.9.tar.gz.

File metadata

  • Download URL: populi-mrobison-0.0.9.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.6

File hashes

Hashes for populi-mrobison-0.0.9.tar.gz
Algorithm Hash digest
SHA256 44165d84d243d79111c11a7e486245087ac08f008a03b12b16bf68774c89cec4
MD5 46298bc48f72d6b99ce4e74619fc48b3
BLAKE2b-256 0a985e7c6a62629bffabdd717685284adbc9781890ca76a9b48998c3bd265af4

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