# Chopper

[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)

[![pub package](https://img.shields.io/pub/v/chopper.svg)](https://pub.dartlang.org/packages/chopper) [![Dart CI](https://github.com/lejard-h/chopper/workflows/Dart%20CI/badge.svg)](https://github.com/lejard-h/chopper/actions?query=workflow%3A%22Dart+CI%22) [![codecov](https://codecov.io/gh/lejard-h/chopper/branch/master/graph/badge.svg)](https://codecov.io/gh/lejard-h/chopper)

[![](https://raw.githubusercontent.com/lejard-h/chopper/develop/flutter_favorite.png)](https://flutter.dev/docs/development/packages-and-plugins/favorites)

Chopper is an http client generator for Dart and Flutter using source\_gen and inspired by Retrofit.

[Documentation](https://hadrien-lejard.gitbook.io/chopper)

## Installation

Please refer to the installation guide at [pub.dev](https://pub.dev/packages/chopper/install) or in the [Getting started](https://hadrien-lejard.gitbook.io/chopper/getting-started) document.

* [Requests](https://hadrien-lejard.gitbook.io/chopper/requests)
* [Converters](https://hadrien-lejard.gitbook.io/chopper/converters/converters)
* [Interceptors](https://hadrien-lejard.gitbook.io/chopper/interceptors)

## Examples

* [json serializable Converter](https://github.com/lejard-h/chopper/blob/master/example/bin/main_json_serializable.dart)
* [built value Converter](https://github.com/lejard-h/chopper/blob/master/example/bin/main_built_value.dart)

## [Issue Tracker](https://github.com/lejard-h/chopper/issues)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

| <p><a href="https://github.com/lejard-h"><img src="https://avatars.githubusercontent.com/u/7336262?v=4&#x26;s=100" alt=""><br>Hadrien Lejard</a><br><a href="https://github.com/lejard-h/chopper/commits?author=lejard-h">💻</a> <a href="https://github.com/lejard-h/chopper/pulls?q=is%3Apr+reviewed-by%3Alejard-h">👀</a> <a href="https://github.com/lejard-h/chopper/commits?author=lejard-h">⚠️</a> <a href="https://github.com/lejard-h/chopper/commits?author=lejard-h">📖</a></p> | <p><a href="https://github.com/stewemetal"><img src="https://avatars.githubusercontent.com/u/5860632?v=4&#x26;s=100" alt=""><br>István Juhos</a><br><a href="https://github.com/lejard-h/chopper/commits?author=stewemetal">💻</a> <a href="https://github.com/lejard-h/chopper/pulls?q=is%3Apr+reviewed-by%3Astewemetal">👀</a> <a href="https://github.com/lejard-h/chopper/commits?author=stewemetal">⚠️</a> <a href="https://github.com/lejard-h/chopper/commits?author=stewemetal">📖</a></p> | <p><a href="https://github.com/techouse"><img src="https://avatars.githubusercontent.com/u/1174328?v=4" alt=""><br>Klemen Tusar</a><br><a href="https://github.com/lejard-h/chopper/commits?author=techouse">💻</a> <a href="https://github.com/lejard-h/chopper/pulls?q=is%3Apr+reviewed-by%3Atechouse">👀</a> <a href="https://github.com/lejard-h/chopper/commits?author=techouse">⚠️</a> <a href="https://github.com/lejard-h/chopper/commits?author=techouse">📖</a></p> | <p><a href="https://www.upwork.com/freelancers/~01192eefd8a1c267f7"><img src="https://avatars.githubusercontent.com/u/231950?v=4&#x26;s=100" alt=""><br>Ivan Terekhin</a><br><a href="https://github.com/lejard-h/chopper/commits?author=JEuler">💻</a> <a href="https://github.com/lejard-h/chopper/pulls?q=is%3Apr+reviewed-by%3AJEuler">👀</a> <a href="https://github.com/lejard-h/chopper/commits?author=JEuler">⚠️</a> <a href="https://github.com/lejard-h/chopper/commits?author=JEuler">📖</a></p> | <p><a href="https://github.com/Guldem"><img src="https://avatars.githubusercontent.com/u/11982796?v=4&#x26;s=100" alt=""><br>Job Guldemeester</a><br><a href="https://github.com/lejard-h/chopper/commits?author=Guldem">💻</a> <a href="https://github.com/lejard-h/chopper/pulls?q=is%3Apr+reviewed-by%3AGuldem">👀</a> <a href="https://github.com/lejard-h/chopper/commits?author=Guldem">⚠️</a> <a href="https://github.com/lejard-h/chopper/commits?author=Guldem">📖</a></p> | <p><a href="http://ysampir@gmail.com"><img src="https://avatars.githubusercontent.com/u/3999503?v=4&#x26;s=100" alt=""><br>Eugeny Sampir</a><br><a href="https://github.com/lejard-h/chopper/commits?author=fryette">💻</a></p> | <p><a href="https://github.com/Vovanella95"><img src="https://avatars.githubusercontent.com/u/11267533?v=4&#x26;s=100" alt=""><br>Uladzimir Paliukhovich</a><br><a href="https://github.com/lejard-h/chopper/commits?author=Vovanella95">💻</a></p> |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
