diff --git a/routes/api.php b/routes/api.php index b6e3cd1..0308128 100644 --- a/routes/api.php +++ b/routes/api.php @@ -10,6 +10,9 @@ use App\Http\Controllers\CurrencyController; |-------------------------------------------------------------------------- */ -Route::get('/today.json', [CurrencyController::class, 'getCurrentRates']); +Route::get('/run-all-fetchs', [CurrencyController::class, 'runAllFetchs']); +Route::get('/today.json', [CurrencyController::class, 'getAllRates']); Route::get('/currency-rates', [CurrencyController::class, 'getCurrentRates']); -Route::get('/currency-rates/{currencyName}', [CurrencyController::class, 'getCurrencyRateByName']); \ No newline at end of file +Route::get('/gold-rates', [CurrencyController::class, 'getGoldRates']); +Route::get('/currency-rates/{currencyName}', [CurrencyController::class, 'getCurrencyRateByName']); +Route::get('/gold-rates/{goldName}', [CurrencyController::class, 'getGoldRateByName']); \ No newline at end of file