Skip to content

Python based module for interacting with the populi.co api.

License

Notifications You must be signed in to change notification settings

riveruniversity/populi-api-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.10

  • Added method set_custom_field_options() to check multiple options via value or option_index parameter.

0.0.9

  • Added method get_leads() which has been added to the Populi API Reference List on April 9, 2021.
  • Added method delete_person().
  • Added method get_online_payment_url().

0.0.8

0.0.7

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

0.0.6

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

About

Python based module for interacting with the populi.co api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%