Skip to content

Commit

Permalink
Create api_preco.php
Browse files Browse the repository at this point in the history
  • Loading branch information
henrique-r-luz authored Jul 17, 2024
1 parent 8a8141d commit b13d0b0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/api_preco.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

use app\lib\componentes\ApiPreco;

return [
'class' => ApiPreco::class,
'apiBitcoin' => 'https://blockchain.info/ticker',
'apiUsa' => 'https://financialmodelingprep.com/api/v3/quote-short/',
'apiUsaKey' => '?apikey=<sua api key>',
'apiBr' => 'https://brapi.dev/api/quote/',
'apiBrKey' => '?token=<seu token key>',
'apiMoeda' => 'https://economia.awesomeapi.com.br/last/USD-BRL'
];
?>

0 comments on commit b13d0b0

Please sign in to comment.