Please make sure that, your allow_url_fopen or cURL is enabled. Also, make sure your API key and location is correct. You can get more details about this API here: https://www.weatherbit.io/api/weather-current

Image

BVI Airports Authority
Road Town, Tortola
British Virgin Islands

+1 (284) 394-8000