Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gearplug/gravityforms-python
gravityforms-python is an API wrapper for Gravityforms (Wordpress plugin), written in Python.
https://github.com/gearplug/gravityforms-python
api events forms gravityforms oauth1 python wordpress
Last synced: 3 days ago
JSON representation
gravityforms-python is an API wrapper for Gravityforms (Wordpress plugin), written in Python.
- Host: GitHub
- URL: https://github.com/gearplug/gravityforms-python
- Owner: GearPlug
- License: mit
- Created: 2023-07-21T21:30:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-27T20:56:02.000Z (over 1 year ago)
- Last Synced: 2023-07-27T21:43:59.249Z (over 1 year ago)
- Topics: api, events, forms, gravityforms, oauth1, python, wordpress
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gravityforms-python
![](https://img.shields.io/badge/version-0.1.0-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python&logoColor=white)*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
```python
from gravityforms.client import Client
client = Client(base_url, consumer_key, consumer_secret)
```
### List Entries
```python
entries = client.list_entries()
```
### Filter entries
```python
entries = client.filter_entries(filter_field,
filter_value,
filter_operator,
sorting_direction=None,
page_size=None,
form_id=None
)
```
### List Forms
```python
forms = client.list_forms()
```
### Get Form detail
```python
form = client.get_form(form_id)
```