{"repo":"webflow/js-webflow-api","free":true,"listed":false,"github":"https://github.com/webflow/js-webflow-api","clone":"git clone https://github.com/webflow/js-webflow-api.git","description":"JS/TS SDK for the Webflow Data API","language":"TypeScript","stars":346,"topics":["api","cms","ecommerce","membership","oauth2","sdk","webflow","business-critical-yes"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Webflow JavaScript/TypeScript SDK The Webflow JavaScript SDK provides convenient access to the Webflow Data API from applications written in JS. The SDK contains typings and request builders for the Webflow Data API. Documentation Explore the Data API reference documentation. Installation Add this dependency to your project's package.json file: Using npm: Using yarn: Authentication You can use a workspace token to access all of the sites in your Webflow Workspace or a site token to access a single site. - To get a workspace token, open the Webflow Dashboard, click Apps & Integrations Manage , and under Workspace API access , click Generate API token . - To get a site token, find the site in the Webflow Dashboard, open its settings, and under API access , click Generate API token . For more information about tokens, see Authentication in the Webflow documentation. For more complex authentication with OAuth, see OAuth below. Usage To use the SDK, import the webflow-api package, provide your access token, and make calls to the Webflow API, as in this example: OAuth To implement OAuth, you must register a Webflow App in your Workspace with the \"Data CLient\" building block and get its client ID and secret. See https://developers.webflow.com/apps/data/docs/register-an-app. To get the client ID, edit the App in your workspace, go to the Building Blocks tab, and copy the ID from the Client ID field. For full instructions, see https://developers.webflow.com/data/reference/oauth-app. S","default_branch":null,"files":null,"tree":[],"storefront":"/r/webflow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webflow/js-webflow-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}