Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

spAo's avatar
Level 1

Laravel national bank & weather API

Hello : ) I have one question i want to get API from national bank & weather sites i have National Bank API

<?
 $client = new SoapClient('http://nbg.gov.ge/currency.wsdl');
 print $client->GetCurrencyDescription('USD').'<br>';
 print $client->GetCurrency('USD').'<br>';
 print $client->GetCurrencyRate('USD').'<br>';
 print $client->GetCurrencyChange('USD').'<br>';
 print $client->GetDate().'<br>';
?>

and i can't find weather API : (

and i want to add this to my bank and weather blade i don't know how to do it can anyone please help me <3

0 likes
5 replies
spAo's avatar
Level 1

i think

api.openweathermap.org/data/2.5/weather?q={city name}&appid={API key}

api.openweathermap.org/data/2.5/weather?q={city name},{state code}&appid={API key}

api.openweathermap.org/data/2.5/weather?q={city name},{state code},{country code}&appid={API key}

but how can i add this to my blade ?

spAo's avatar
Level 1

please can someone help me ? : (

martinbean's avatar

@spao Stop begging for help after less than an hour. This isn’t a chat room.

You‘ve been directed to a weather API. Read its docs. And you’d make the API call in a controller and send it to your view; not call it directly in a view.

Please or to participate in this conversation.