Download the PHP package nicdev/webflow-sdk without Composer
On this page you can find all versions of the php package nicdev/webflow-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nicdev/webflow-sdk
More information about nicdev/webflow-sdk
Files in nicdev/webflow-sdk
Package webflow-sdk
Short Description Use all the features offered by the Webflow API
License MIT
Informations about the package webflow-sdk
Webflow PHP SDK
BEWARE! This is a super early version in active development. So please be careful if you decide to use it ✌️
This is open source software and not in any official way supported by Webflow.
This PHP SDK allows you to interact with the Webflow API easily.
There are two main ways to use this library. By accessing Sites and other entities and interacting with their respective classes or...
See the Entities documentation
...directly as an API wrapper through the underlying Webflow
class.
See the API client wrapper documentation
Table of Contents
- Installation
- Usage
- Entities
- Get sites
- Fetch a specific site by its ID
- Publish a domain
- Get a site's domains
- Get a site's collections
- Fetch a specific collection by its ID
- Fetch a collection's items
- Fetch a site's webhooks
- Fetch a site's products
- Fetch a site's orders
- Client (API Wrapper)
- Meta
- Get the current user's information
- Get the authenticated user's authorization information
- Sites
- List all sites associated with the authenticated user
- Fetch a specific site by its ID
- Publish a specific site by its ID
- List all domains associated with a specific site by its ID
- Webhooks
- List all webhooks associated with a specific site by its ID
- Fetch a specific webhook associated with a specific site by their IDs
- Create a webhook for a specific site
- Delete a webhook for a specific site
- Collections/Items
- List all collections for a specific site
- Fetch a specific collection by its ID
- List items for a specific collection by its ID
- Create an item in a specific collection by its ID
- Get an item by its ID
- Publish one or more items by their ID
- Update an item by its ID
- Patch an item by its ID
- Delete or un-publish an item by its ID
- Products/SKUs
- List products/SKUs for a specific site by its ID
- Create a Product and SKU
- Get Products and SKUs
- Update a Product
- Create a SKU
- Update a SKU
- Inventory for a specific item
- Update Inventory
- Ecommerce
- List orders
- Get an Order
- Update an Order
- Fulfill an Order
- Un-fulfill an Order
- Refund an Order
- Get Ecommerce settings for a Site
- Entities
- Contributing
- License
Installation
Install the SDK via Composer:
Usage
Client (API Wrapper)
To use this SDK, first create a new instance of the Webflow
class with your API token.
Get the current user's information
Get the authenticated user's authorization information
List all sites associated with the authenticated user
Fetch a specific site by its ID
Publish a specific site by its ID
List all domains associated with a specific site by its ID
List all webhooks associated with a specific site by its ID
Fetch a specific webhook associated with a specific site by their IDs
Create a webhook for a specific site
Delete a webhook for a specific site
List all collections for a specific site
Fetch a specific collection by its ID
List items for a specific collection by its ID
Create an item in a specific collection by its ID
Get an item by its ID
Publish one or more items by their ID
Update an item by its ID
Patch an item by its ID
I don't see a real difference between the update and patch methods but they have been matched to their respective endpoints. For more information see the documentation.
Delete or un-publish an item by its ID
List products/SKUs for a specific site by its ID.
Create a Product and SKU
Get Products and SKUs
Update a Product
Create a SKU
Update a SKU
Inventory for a specific item
Update Inventory
List orders
Get an Order
Update an Order
Fulfill an Order
Un-fulfill an Order
Refund an Order
Get Ecommerce settings for a Site
Entities
To use this SDK, first create a new instance of the Webflow
class with your API token.
Get sites
Fetch a specific site by its ID
Publish a domain
Get a site's domains
Get site's collections
Fetch a specific collection by its ID
Fetch a collection's items
Fetch a site's webhooks
Fetch a site's products
Fetch a site's orders
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This SDK is licensed under the MIT License. See LICENSE for more information.