Skip to main content

A client library to communicate with the WebFlow API

Project description

Welcome to fast-webflow

a WebFlow CMS API Client in Python

License

This Python library provides an intuitive and fast interface over WebFlow's API. It simplifies the process of integrating your Python applications with the WebFlow content management system (CMS), allowing you to create, read, update, and delete items within your WebFlow collections.

Check out an example website built with the help of fast-webflow: liguriasegreta.com

DISCLAIMER: This is an unofficial abstraction over WebFlow's API and I am not associated with the WebFlow team.

Roadmap

  • Add e-commerce functionality
  • Add membership functionality
  • Add tests
  • Finish documentation
  • Publish to PyPi

Features

  • Authenticate with the WebFlow API using your API key
  • Fetch collection data and items from WebFlow
  • Create, update, and delete items within WebFlow collections
  • Search for items within collections using filter parameters
  • Handle pagination for large datasets
  • Retrieve collection schema and field information
  • Upload files to WebFlow

Installation

You can install the Python WebFlow CMS API Client library using pip:

pip install webflow-api

Getting Started

  1. Obtain an API key from WebFlow by following their API Access Token.
  2. Import the WebFlow class from the webflow module:
from webflow import WebFlow
  1. Initialize the WebFlow client with your API key:
api_key = 'YOUR_API_KEY'
client = WebFlow(api_key)
  1. Start interacting with the WebFlow API using the provided methods. For example, to fetch all items from a collection:
collection_id = 'COLLECTION_ID'
items = client.get_collection_items(collection_id)
for item in items:
    print(item)

Contributing

Contributions to the Python WebFlow CMS API Client library are welcome! If you encounter any bugs, have suggestions, or would like to contribute new features, please feel free to open an issue or submit a pull request on GitHub.

License

This project is licensed under the GNU GPLv3 License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fast-webflow-0.1.1.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

fast_webflow-0.1.1-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page