{"id":22195442,"url":"https://github.com/elbatanony/webflow_api","last_synced_at":"2026-01-11T04:39:40.030Z","repository":{"id":49401837,"uuid":"517434887","full_name":"ElBatanony/webflow_api","owner":"ElBatanony","description":"A Webflow CMS API Dart package","archived":false,"fork":false,"pushed_at":"2023-08-29T17:01:43.000Z","size":17,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:08:56.670Z","etag":null,"topics":["dart","webflow"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElBatanony.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-24T20:56:15.000Z","updated_at":"2024-06-09T06:54:28.000Z","dependencies_parsed_at":"2024-04-21T18:27:44.120Z","dependency_job_id":null,"html_url":"https://github.com/ElBatanony/webflow_api","commit_stats":null,"previous_names":["elbatanony/webflow_api","innoflutter/webflow_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElBatanony%2Fwebflow_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElBatanony%2Fwebflow_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElBatanony%2Fwebflow_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElBatanony%2Fwebflow_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElBatanony","download_url":"https://codeload.github.com/ElBatanony/webflow_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245359253,"owners_count":20602322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","webflow"],"created_at":"2024-12-02T13:28:21.535Z","updated_at":"2026-01-11T04:39:40.004Z","avatar_url":"https://github.com/ElBatanony.png","language":"Dart","readme":"# Webflow API\n\nThis Webflow API package is aimed to facilitate communicating with the Webflow Content Management System (CMS).\n\nThe package could be used to develop admin apps to manage Webflow sites' content, e.g., blogs, events.\n\nThe package communicates with the Webflow API via the HTTPS methods.\nThe design of the package is inspired by the official [Webflow API npm package](https://www.npmjs.com/package/webflow-api).\n\nThis package is not officially supported by Webflow.\n\n## Features\n\nThe package provides functions to:\n\n- Fetch collections\n- Fetch a collection by collection ID\n- Fetch items in a collection\n- Fetch a collection item by item ID\n- Create a new collection item\n- Delete a collection item\n- Update the fields of an item\n\n## Getting started\n\nTo set up the package, first install the package.\n\n```cmd\nflutter pub add webflow_api\n```\n\n1. Then generate an Webflow API token.\nYou can find instructions in the official Webflow documentation [here](https://university.webflow.com/lesson/intro-to-the-webflow-api).\n\n1. Retreive the Webflow project ID (Site ID) from the Webflow project settings dashboard.\n\n1. Set up the Webflow object.\n\n```dart\nimport 'package:webflow_api/webflow_api.dart';\n\nconst siteId = \"insert site ID here\";\nconst authToken = \"insert auth token here\";\n\nvoid main() async {\n  Webflow webflow = Webflow(token: authToken, siteId: siteId);\n}\n```\n\nThe official CMS API reference can be found [here](https://developers.webflow.com/).\nNote that not all the API methods are currently implemented in this package.\n\n## Usage\n\n### Setup\n\n```dart\nconst siteId = \"insert site ID here\";\nconst authToken = \"insert auth token here\";\nWebflow webflow = Webflow(token: authToken, siteId: siteId);\n```\n\n### Fetch all collections\n\n```dart\n// Fetch all the CMS Collections \nList\u003cCollection\u003e collections = await webflow.collections();\n// Display the ID and fields of the first collection\nprint(collections[0].id);\nprint(collections[0].fields);\n```\n\n### Fetch Item by ID\n\n```dart\n// Fetch an item from a collection by ID\nconst collectionId = \"insert collection ID\";\nconst itemId = \"insert item ID\";\nItemsResponse fetchedItem = await webflow.item(collectionId: collectionId, itemId: itemId);\n// Print fetched item name and slug\nprint(fetchedItem.items[0].name);\nprint(fetchedItem.items[0].slug);\n```\n\n## Additional information\n\nPackage developed by [Ahmed ElBatanony](https://github.com/elbatanony),\nas part of a Flutter course at Innopolis University.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felbatanony%2Fwebflow_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felbatanony%2Fwebflow_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felbatanony%2Fwebflow_api/lists"}