/webflowpy

Generic framework to load data into Webflow CMS via API

Primary LanguagePythonMIT LicenseMIT

Build Status PyPI PyPi Stats

Webflow CMS API Client

Disclamer

This python port of the official Webflow CMS API Client (for JS) is not maintained by or associated with Webflow.

Requirements

  • Python3 (recommended >= 3.6)
  • See requirements.txt

Installation

Install the package via PyPi:

$ pip install webflowpy

Usage

from webflowpy.Webflow import Webflow

# Initialize the API
webflow_api = Webflow()

# Fetch a site
webflow_api.site(site_id='XXX')

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

  • token - the API token (can also be set via conf.ini - see settings.py)

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.

Changelog

Jan 28th 2019

  • Bug Fix

Dec 28th 2018

  • Initial release