Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 925 Bytes

README.md

File metadata and controls

36 lines (35 loc) · 925 Bytes

gravityforms-python

gravityforms-python is an API wrapper for Gravityforms (Wordpress plugin), written in Python.
This library uses Oauth1 for authentication.

Installing

pip install gravityforms-python

Usage

from gravityforms.client import Client
client = Client(base_url, consumer_key, consumer_secret)

List Entries

entries = client.list_entries()

Filter entries

entries = client.filter_entries(filter_field, 
            filter_value, 
            filter_operator, 
            sorting_direction=None, 
            page_size=None, 
            form_id=None
)

List Forms

forms = client.list_forms()

Get Form detail

form = client.get_form(form_id)