https://github.com/poetic/gravity-forms-api
Blendata npm package for interacting with gravity forms
https://github.com/poetic/gravity-forms-api
Last synced: about 2 months ago
JSON representation
Blendata npm package for interacting with gravity forms
- Host: GitHub
- URL: https://github.com/poetic/gravity-forms-api
- Owner: poetic
- License: mit
- Created: 2016-05-12T19:30:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-29T18:50:17.000Z (over 8 years ago)
- Last Synced: 2025-03-18T09:51:43.755Z (3 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 4
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GravityFormsAPI
=========A small api for making requests to Gravity Forms integrated WordPress sites
## Installation
npm install gravity-forms-api --save
## Usage
```
import { GravityFormsAPI } from 'gravity-forms-api';const apiKey = '1234';
const domain = 'www.yourDomain.com';
const privateKey = 'abc';// initialize gravityForms instance
const gravityForms = new GravityFormsAPI(apiKey, domain, privateKey);const method = 'GET';
const route = 'forms/1/entries';// Create a signature for the route you want to interact with
const signature = gravityForms.createSignature(method, route);// Make the api request
const results = gravityForms.request(route, signature);
```## Release History
* 0.0.1 Initial release