You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

webflow-api

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webflow-api

SDK for the Webflow CMS API

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
52K
-21.33%
Maintainers
1
Weekly downloads
 
Created
Source

Webflow CMS API Client

Requirements

  • Node.js 4+
  • NPM / YARN
  • Webpack / Browserify (optional)

Installation

Install the package via NPM or YARN:

$ npm install --save webflow-api

$ yarn add webflow-api

Note: this API client is compatible with the browser in addition to Node.js, and thus can be utilized with Webpack or Browserify. However, at this time the beta launch of the API does not support browser clients - that functionality will be released at a later date.

Usage

const Webflow = require('webflow-api');

// Initialize the API
const api = new Webflow({ token: 'api-token' });

// Fetch a site
api.site('580e63e98c9a982ac9b8b741').then(site => console.log(site));

The Webflow constructor takes several options to initialize the API client:

  • token - the API token (required)
  • version - the version of the API you wish to use (optional)

All of the API methods are documented in the API documentation.

Contributing

Contributions are welcome - feel free to open an issue or pull request.

License

The MIT license - see LICENSE.

FAQs

Package last updated on 29 Nov 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