{"id":32279576,"url":"https://github.com/kinetsystems/frappe_dart","last_synced_at":"2026-02-19T21:51:15.357Z","repository":{"id":270437893,"uuid":"905597595","full_name":"kinetsystems/frappe_dart","owner":"kinetsystems","description":"A comprehensive Dart wrapper for interacting with the Frappe API, providing easy access to its features and enabling seamless communication with Frappe-based systems.","archived":false,"fork":false,"pushed_at":"2025-09-26T08:36:31.000Z","size":215,"stargazers_count":15,"open_issues_count":6,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T08:10:27.087Z","etag":null,"topics":["api","dart","erpnext","flutter","frappe","rest-api"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/frappe_dart","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/kinetsystems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-19T06:39:21.000Z","updated_at":"2026-02-14T23:37:00.000Z","dependencies_parsed_at":"2025-01-17T09:21:23.687Z","dependency_job_id":"f1841df7-9c8c-42a0-9f84-18904efe5bfb","html_url":"https://github.com/kinetsystems/frappe_dart","commit_stats":null,"previous_names":["kinetsystems/frappe_dart"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/kinetsystems/frappe_dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinetsystems%2Ffrappe_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinetsystems%2Ffrappe_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinetsystems%2Ffrappe_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinetsystems%2Ffrappe_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinetsystems","download_url":"https://codeload.github.com/kinetsystems/frappe_dart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinetsystems%2Ffrappe_dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29634417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T18:02:07.722Z","status":"ssl_error","status_checked_at":"2026-02-19T18:01:46.144Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","dart","erpnext","flutter","frappe","rest-api"],"created_at":"2025-10-23T00:33:58.672Z","updated_at":"2026-02-19T21:51:15.352Z","avatar_url":"https://github.com/kinetsystems.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frappe Dart\n\nA comprehensive Dart wrapper for interacting with the Frappe API, providing easy access to its features and enabling seamless communication with Frappe-based systems.\n\n🚧 **Note:** This project is currently under construction and is not production-ready. Expect significant changes as the project evolves.\n\n## Example App\n\nLooking for a working example? Check out the official example app here:  \n👉 [https://github.com/kinetsystems/frappify](https://github.com/kinetsystems/frappify)\n\nThis separate repository demonstrates how to integrate and use `frappe_dart` in a real-world Flutter application.\n\n## Installation\n\nTo get started with the `frappe_dart` package, add it to your project's `pubspec.yaml` dependencies:\n\n```yaml\ndependencies:\n  frappe_dart: ^0.0.6\n```\n\n## Usage\n\nOnce installed, you can use the wrapper to interact with the Frappe API. Here's an example of how to perform a basic request:\n\n```dart\nimport 'package:frappe_dart/frappe_dart.dart';\n\nvoid main() async {\n  final frappeClient = FrappeV15(\n    baseUrl: 'https://your-frappe-url.com',\n  );\n\n  try {\n    final authResponse = await frappeClient.login(\n      LoginRequest(\n        usr: 'your-username',\n        pwd: 'your-password',\n      ),\n    );\n\n    frappeClient.cookie = authResponse.cookie;\n\n    final sidebarItems = await frappeClient.getDeskSideBarItems();\n\n    final page = sidebarItems.message!.pages!\n        .firstWhere((element) =\u003e element.name == 'Users');\n\n    final deskPage = await frappeClient.getDesktopPage(\n      DesktopPageRequest(\n        name: page.name,\n      ),\n    );\n\n    print(deskPage.toJson());\n  } catch (error) {\n    print('Error: $error');\n  }\n}\n```\n\n## How to extend\n\nYou can extend the functionality of frappe_dart to support additional custom API endpoints using Dart's extension methods.\n\n```dart\nimport 'package:http/http.dart' as http;\n\nextension FrappeV15Extensions on FrappeV15 {\n  Future\u003cMap\u003cString, dynamic\u003e\u003e newApiEndPoint() async {\n    final url = '$baseUrl/api/method/new_api_endpoint';\n\n    final response = await dio.get\u003cMap\u003cString, dynamic\u003e\u003e(\n      url,\n      headers: {\n        if (cookie != null) 'Cookie': cookie,\n      },\n    );\n\n    return response.data!;\n  }\n}\n```\n\n## Contributing\n\nWe welcome contributions to improve and extend the functionality of frappe_dart. If you’d like to contribute, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Write tests to ensure the changes work as expected.\n4. Submit a pull request with a detailed explanation of your changes.\n\nFor bug reports, feature requests, or any issues, please open an issue on the GitHub repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinetsystems%2Ffrappe_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinetsystems%2Ffrappe_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinetsystems%2Ffrappe_dart/lists"}