Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gravity-forms-api

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gravity-forms-api

Basic module that creates signatures and requests data from gravity forms endpoints

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by366.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 13 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc