{"id":20664012,"url":"https://github.com/flutterando/uno","last_synced_at":"2025-04-05T14:06:41.983Z","repository":{"id":38272019,"uuid":"427824058","full_name":"Flutterando/uno","owner":"Flutterando","description":"Future based HTTP client for the Dart and Flutter","archived":false,"fork":false,"pushed_at":"2024-10-07T18:15:15.000Z","size":1186,"stargazers_count":77,"open_issues_count":4,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T13:08:40.519Z","etag":null,"topics":["dart","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/uno","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/Flutterando.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,"publiccode":null,"codemeta":null}},"created_at":"2021-11-14T03:01:28.000Z","updated_at":"2024-10-07T18:15:19.000Z","dependencies_parsed_at":"2024-06-19T13:23:37.515Z","dependency_job_id":"70aca05f-c458-4f50-b488-e491a7ee08bb","html_url":"https://github.com/Flutterando/uno","commit_stats":{"total_commits":84,"total_committers":12,"mean_commits":7.0,"dds":0.5,"last_synced_commit":"9bc293d438e651ccc194adde09a0c7829198e1e7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Funo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Funo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Funo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Funo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flutterando","download_url":"https://codeload.github.com/Flutterando/uno/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345852,"owners_count":20924102,"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","flutter"],"created_at":"2024-11-16T19:21:37.650Z","updated_at":"2025-04-05T14:06:41.960Z","avatar_url":"https://github.com/Flutterando.png","language":"Dart","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\n\u003ch1 align=\"center\"\u003eUNO - Future based HTTP client for Dart and Flutter.\u003c/h1\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/uno\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/Flutterando/uno/master/images/logo.png\" alt=\"Logo\" width=\"120\"\u003e\n  \u003c/a\u003e\n\n  \u003cp align=\"center\"\u003e\n    Uno, inspired by Axios, brings a simple and robust experience to crossplatform apps in Flutter and server apps in Dart.\n    \u003cbr /\u003e\n    \u003ca href=\"https://pub.dev/documentation/uno/latest/\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003c!-- \u003ca href=\"https://github.com/othneildrew/Best-README-Template\"\u003eView Demo\u003c/a\u003e --\u003e\n    \u003c!-- · --\u003e\n    \u003ca href=\"https://github.com/Flutterando/uno/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Flutterando/uno/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003c!--  SHIELDS  ----\u003e\n\n[![License](https://img.shields.io/github/license/flutterando/uno?style=plastic)](https://github.com/Flutterando/uno/blob/master/LICENSE)\n[![Pub Points](https://img.shields.io/pub/points/uno?label=pub%20points\u0026style=plastic)](https://pub.dev/packages/uno/score)\n[![Contributors](https://img.shields.io/github/contributors/flutterando/uno?style=plastic)](https://github.com/Flutterando/uno/graphs/contributors)\n[![Forks](https://img.shields.io/github/forks/flutterando/uno?color=yellowgreen\u0026logo=github\u0026style=plastic)](https://github.com/Flutterando/asuka/graphs/contributors)\n\n[![Pub Publisher](https://img.shields.io/pub/publisher/uno?style=plastic)](https://pub.dev/publishers/flutterando.com.br/packages)\n[![Flutterando Youtube](https://img.shields.io/youtube/channel/subscribers/UCplT2lzN6MHlVHHLt6so39A?color=blue\u0026label=Flutterando\u0026logo=YouTube\u0026logoColor=red\u0026style=plastic)](https://www.youtube.com/flutterando)\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#sponsors\"\u003eSponsors\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgements\"\u003eAcknowledgements\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\n\u003cbr\u003e\n\u003cCenter\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Flutterando/uno/master/images/Example-uno.png\" alt=\"Uno PNG\" width=\"400\"\u003e\n\u003c/Center\u003e\n\n\u003cbr\u003e\n\nUno is a multiplatform HTTP client, based on Axios and built following the Clean Dart approach by the Flutterando Community.\nIt is a simple and hassle free solution while still bringing everything you need and a bit more in a HTTP client. \n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SPONSORS --\u003e\n## Sponsors\n\n\u003ca href=\"https://fteam.dev\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/Flutterando/uno/master/images/sponsor-logo.png\" alt=\"Logo\" width=\"120\"\u003e\n  \u003c/a\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\u003cbr\u003e\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nTo install Uno in your project you can follow the instructions below:\n\n\na) Add in your pubspec.yaml:\n   ```sh\n   dependencies:\n   uno: \u003clast-version\u003e\n   ```\n   \nb)    or use:\n   ```sh\n   dart pub add uno\n   ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## How To Use\n\nUno is ready for REST APIs. Methods like GET, POST, PUT, PATCH, DELETE are welcome here!\n\n```Dart\nfinal uno = Uno();\n\n// Make a request for a user with a given ID\nuno.get('/users?id=1').then((response){\n  print(response.data); // it's a Map\u003cString, dynamic\u003e.\n}).catchError((error){\n  print(error) // It's a UnoError.\n});\n```\n\n_For more examples, please refer to the_ [Documentation](https://pub.dev/documentation/uno/latest/)\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- ROADMAP --\u003e\n## Features\n\n- ✅ GET\n- ✅ POST\n- ✅ PATCH\n- ✅ PUT\n- ✅ DELETE\n- ✅ Interceptors\n- ✅ Error Handler\n- ✅ Multipart/FormData\n\nRight now this package has concluded all his intended features. If you have any suggestions or find something to report, see below how to contribute to it.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n****\n## Use cases\n\n**Send post json**\n\n```Dart\nfinal json = {\n  'name': 'Joshua',\n  'lastName': 'Baxter'\n};\n\nawait uno.post('/user', data: json);\n```\n\n**Send post form urlencoded**\n\n```Dart\nfinal data = {\n  'name': 'Joshua',\n  'lastName': 'Baxter'\n};\n\nawait uno.post('/user', headers: {\n     HttpHeaders.contentTypeHeader: \"application/x-www-form-urlencoded\",\n    },\n    data: data,\n);\n```\n\n**Send Multipart form**\n\n```Dart\nfinal formData = FormData();\nformData.add('name', 'Maira');\nformData.add('lastName', 'Moura');\n\nawait uno.post('/user', data: formData);\n```\n\n**Upload file with multipart**\n\n```Dart\nfinal formData = FormData();\nformData.addFile('file', 'image/profile.png');\n\nawait uno.post('/upload', data: formData);\n```\n\n**Download file**\n\n```Dart\n  final response = await uno.get(\n    'file.csv',\n    responseType: ResponseType.arraybuffer,\n    onDownloadProgress: (total, current) {\n      print((current * total) / 100);\n    },\n  );\n  \n  final bytes = response.data as List\u003cint\u003e;\n  final file = File('localFile.csv');\n  await file.writeAsBytes(bytes);\n```\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\n🚧 [Contributing Guidelines](https://github.com/angular/angular/blob/main/CONTRIBUTING.md) - Currently being updated 🚧\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the appropriate tag. \nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\nRemember to include a tag, and to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [Semantic Versioning](https://semver.org/) when uploading your commit and/or creating the issue. \n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nFlutterando Community\n- [Discord](https://discord.gg/qNBDHNARja)\n- [Telegram](https://t.me/flutterando)\n- [Website](https://www.flutterando.com.br/)\n- [Youtube Channel](https://www.youtube.com.br/flutterando)\n- [Other useful links](https://linktr.ee/flutterando)\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n## Aknowledgements\nThank you to all the people who contributed to this project, whithout you this project would not be here today.\n\n\u003ca href=\"https://github.com/flutterando/Uno/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=flutterando/Uno\" /\u003e\n\u003c/a\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Maintaned by\n\n---\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.flutterando.com.br\"\u003e\n    \u003cimg width=\"110px\" src=\"https://raw.githubusercontent.com/Flutterando/uno/master/images/logo-flutterando.png\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003e\n    Built and maintained by \u003ca href=\"https://www.flutterando.com.br\"\u003eFlutterando\u003c/a\u003e.\n  \u003c/p\u003e\n\u003c/p\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Funo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterando%2Funo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Funo/lists"}