This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Library for interacting with the Gravity Forms Web API.

Not created, sponsored, or supported by Rocketgenius, Inc.

Prerequisites

  1. WordPress installed.
  2. Pretty Permalinks enabled (anything other than http://example.com/?p=123).
  3. Gravity Forms plugin installed and activated.
  4. Web API enabled (Forms > Settings > Web API).

Installation

$ python setup.py install

Usage

>>> from pygfapi import Client
>>> gf = Client("https://example.com/gravityformsapi/", "1234", "abcd")
>>> form = gf.get_form(1)
>>> print form[u"id"]
1
>>> print form[u"title"]
u'Test Form'
>>> form_1_entries = gf.get_form_entries(1)
>>> print len(form_1_entries)
3
>>> for entry in form_1_entries:
...   print entry[u"id"]
...
3
2
1
>>> entries = gf.get_unread_entries(15)
>>> for e in entries:
...   print e[u"id"]
...   e[u"is_read"] = 1
...
60
59
58
>>> response = gf.put_entries(entries)
>>> print response
Entries updated successfully

Running Tests

$ python -m unittest discover

License

GNU General Public License, Version 3 (see LICENSE).

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygfapi-0.0.3.zip (7.3 kB) Copy SHA256 Checksum SHA256 Source Oct 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting