Technology: PHP (Laravel) + MySQL
- Supports convertion only from Singaporean Dollars (SGD) to Polish zloty (PLN).
- Seeder: creates exchange rates for today and 13 days before.
- Exchange rates are fetched from Database.
GET /api/convert
Parameter | Type | Description |
---|---|---|
from |
string |
Required. Three-letter currency code to convert from. |
to |
string |
Required. Three-letter currency code to convert to. |
amount |
float |
Required. The amount to be converted. |
date |
string |
Optional. Date to get historical rates (format YYYY-MM-DD). |