{"id":26218407,"url":"https://github.com/awsdataarchitect/dynamodb_easyclient","last_synced_at":"2026-06-19T21:32:07.019Z","repository":{"id":248131950,"uuid":"827639045","full_name":"awsdataarchitect/dynamodb_easyclient","owner":"awsdataarchitect","description":"Source code for an Flutter App (for iOS and Android) interacting with your Amazon DynamoDb tables","archived":false,"fork":false,"pushed_at":"2024-07-12T14:21:04.000Z","size":423,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T13:16:50.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awsdataarchitect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T04:27:57.000Z","updated_at":"2024-10-29T20:13:20.000Z","dependencies_parsed_at":"2024-07-12T16:28:12.920Z","dependency_job_id":null,"html_url":"https://github.com/awsdataarchitect/dynamodb_easyclient","commit_stats":null,"previous_names":["awsdataarchitect/dynamodb_easyclient"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awsdataarchitect/dynamodb_easyclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamodb_easyclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamodb_easyclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamodb_easyclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamodb_easyclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awsdataarchitect","download_url":"https://codeload.github.com/awsdataarchitect/dynamodb_easyclient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamodb_easyclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34549340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-03-12T13:16:52.532Z","updated_at":"2026-06-19T21:32:07.000Z","avatar_url":"https://github.com/awsdataarchitect.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dynamodb_easyclient\n\nDynamoDb Client for Mobile to manage your DynamoDb tables. Written in Flutter and uses High-level APIs for Amazon Web Services (AWS) in Dart.\nWe use the DocumentClient for DynamoDB Flutter package that simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values. This abstraction annotates native Dart types supplied as input parameters, as well as converts annotated response data to native Dart types.\n\n# Usage:\n\nThis below example demonstrates how to perform basic read operations on Amazon DynamoDB using Dart, showing both single and batch retrievals. The snippet includes two primary operations: a single get request and a batchGet request.\n\n- 1. Importing Dependencies\n\n            import 'dart:convert';\n\n            import 'package:document_client/document_client.dart';\n\n     dart:convert: Provides encoding and decoding for JSON.\n     document_client: A package that simplifies interactions with DynamoDB.\n\n- 2. Main Function\n\n            void main() async { \n\n            final dc = DocumentClient(region: 'eu-west-1');\n\n     The main function is declared as async to handle asynchronous operations.\n     DocumentClient is initialized with the specified AWS region (eu-west-1).\n\n- 3. Single Get Request\n\n         final getResponse = await dc.get(\n\n         tableName: 'MyTable', \n\n            key: {'Car': 'DudeWheresMyCar'},\n\n            );\n\n         print(jsonEncode(getResponse.item)); // e.g. { \"wheels\": 24, \"units\": \"inch\" }\n\n     A single get request is made to the DynamoDB table named MyTable.\n     The request fetches an item with the primary key {'Car': 'DudeWheresMyCar'}.\n     The response item is printed in JSON format. \n     An example output could be {\"wheels\": 24, \"units\": \"inch\"}.\n\n- 4. Batch Get Request\n\n         final batchGetResponse = await dc.batchGet(\n\n            requestItems: {\n\n         'Table-1': KeysAndProjection(\n\n            keys: [\n\n            {'HashKey': 'hashkey', 'NumberRangeKey': 1},\n\n            ],\n\n            ),\n\n    \n            'Table-2': KeysAndProjection(\n            keys: [\n\n            {'foo': 'bar'},\n\n            ],\n\n          ),\n\n            },\n\n         );\n\n         print(jsonEncode(batchGetResponse.responses));\n\n     A batchGet request retrieves items from multiple tables (Table-1 and Table-2).\n     For Table-1, it fetches items using keys {'HashKey': 'hashkey', 'NumberRangeKey': 1}.\n     For Table-2, it fetches items using keys {'foo': 'bar'}.\n     The response, which includes items from both tables, is printed in JSON format.\n\n## Getting Started\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Fdynamodb_easyclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawsdataarchitect%2Fdynamodb_easyclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Fdynamodb_easyclient/lists"}