13
13
[ ![ SIZE-LAYERS] ( https://images.microbadger.com/badges/image/meio/go-swap-server.svg )] ( https://microbadger.com/images/meio/go-swap-server )
14
14
[ ![ Pulls] ( https://shields.beevelop.com/docker/pulls/meio/go-swap-server.svg?style=flat-square )] ( https://hub.docker.com/r/meio/go-swap-server )
15
15
16
- Swap allows you to retrieve currency exchange rates from various services such as ** [ Fixer] ( https://fixer.io ) ** , ** [ CurrencyLayer] ( https://currencylayer.com ) ** or ** [ 1Forge] ( https://1forge.com ) **
16
+ Swap allows you to retrieve currency exchange rates from various services such as ** [ Google ] ( https://google.com ) ** , ** [ Yahoo ] ( https://yahoo.com ) ** , ** [ Fixer] ( https://fixer.io ) ** , ** [ CurrencyLayer] ( https://currencylayer.com ) ** or ** [ 1Forge] ( https://1forge.com ) **
17
17
and optionally cache the results.
18
18
19
19
## Playground
@@ -27,7 +27,7 @@ and optionally cache the results.
27
27
#### /GET Examples for single exchanger:
28
28
- [ GET /convert?from=USD&to=AED&amount=2&exchanger=yahoo] ( https://go-swap-server.herokuapp.com/convert?from=USD&to=AED&amount=100&exchanger=yahoo )
29
29
- [ GET /convert?from=EUR&to=GBP&amount=1&exchanger=google] ( https://go-swap-server.herokuapp.com/convert?from=EUR&to=GBP&amount=100&exchanger=google )
30
- - [ GET /convert?from=EUR &to=GBP &amount=1&exchanger=themoneyconverter] ( https://go-swap-server.herokuapp.com/convert?from=EUR &to=GBP &amount=100&exchanger=themoneyconverter )
30
+ - [ GET /convert?from=USD &to=SAR &amount=1&exchanger=themoneyconverter] ( https://go-swap-server.herokuapp.com/convert?from=USD &to=SAR &amount=100&exchanger=themoneyconverter )
31
31
32
32
#### /POST Examples for single or multi exchanger:
33
33
- CURL examples:
@@ -119,15 +119,15 @@ The documentation for the current branch can be found [here](#documentation).
119
119
120
120
121
121
# # Services
122
- | Exchanger| type| # |$|
123
- | :---| :----| :---| :---|
124
- | [Google][1]| HTML / Regex| :heavy_check_mark:| Free|
125
- | [Yahoo][2]| JSON / API| :heavy_check_mark:| Free|
126
- | [Currency Layer][3]| JSON / API| :heavy_check_mark: | Paid - ApiKey|
127
- | [Fixer.io][4]| JSON / API| :heavy_check_mark: | Paid - ApiKey|
128
- | [1forge][7]| API| :heavy_check_mark: | Freemium / Paid - ApiKey|
129
- | [The Money Converter][5]| HTML / Regex| :heavy_check_mark: | Free|
130
- | [Open Exchange Rates][6]| API| :heavy_check_mark: | Freemium / Paid - ApiKey|
122
+ | Exchanger | type | # |$|
123
+ | :--- | :---- | :--- | :---|
124
+ | [Google][1] | HTML / Regex | :heavy_check_mark: | Free|
125
+ | [Yahoo][2] | JSON / API | :heavy_check_mark: | Free|
126
+ | [Currency Layer][3] | JSON / API | :heavy_check_mark: | Paid - ApiKey|
127
+ | [Fixer.io][4] | JSON / API | :heavy_check_mark: | Paid - ApiKey|
128
+ | [1forge][7] | API | :heavy_check_mark: | Freemium / Paid - ApiKey|
129
+ | [The Money Converter][5] | HTML / Regex | :heavy_check_mark: | Free|
130
+ | [Open Exchange Rates][6] | API | :heavy_check_mark: | Freemium / Paid - ApiKey|
131
131
132
132
[1]: //google.com
133
133
[2]: //yahoo.com
@@ -146,14 +146,14 @@ The documentation for the current branch can be found [here](#documentation).
146
146
- [x] code coverage
147
147
- [x] get routes for single provider
148
148
- [x] validate currency from a list before request
149
- - [ ] panic to json error
149
+ - [ ] convert panic to api json error
150
150
- [ ] increase tests
151
151
- [ ] goreleaser
152
152
- [ ] verbose logging
153
153
- [ ] godoc
154
154
- [ ] static bundle public folder ` ./cmd/server/public`
155
155
- [ ] v 1.0.0 release ( docker / binary github / homebrew mac )
156
- - [ ] Benchmark & Performance optimization ` memory leak`
156
+ - [ ] benchmark & performance optimization ` memory leak`
157
157
- [ ] contributors list
158
158
159
159
# # Contributing
0 commit comments