Skip to content

This is a project of my learning about an api. This api created to provide a filter custom data of weather in East Timor 🇹🇱 from Meteo API data.

Notifications You must be signed in to change notification settings

Frederico27/weather-api-timor-leste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather API Data

Overview

Weather API Data is a RESTful API application built using Laravel and MySQL. The application scrapes and aggregates weather data from the Meteo API, organizing and exposing it through well-structured API endpoints. The API provides current, daily, and hourly weather information for municipalities across Timor-Leste.

Features

  • Current Weather Data: Retrieve real-time weather data for all municipalities or specific ones.
  • Daily Forecast: Get weather forecasts for the next 7 days for a specific municipality.
  • Hourly Forecast: Access weather data for the next 10 hours for any municipality.

Requirements

  • PHP 8.0+
  • Composer
  • Laravel 9.x
  • MySQL 8.x
  • cURL
  • API Key from Meteo API

Installation

  1. Clone the Repository
    git clone https://github.com/your-repo/weather-api-data.git
    cd weather-api-data
    
  2. Install Dependencies
    composer install
    
  3. Configure Enviroment
    cp .env.example .env
    
  4. Configure Database
     DB_CONNECTION=mysql
     DB_HOST=127.0.0.1
     DB_PORT=3306
     DB_DATABASE=your_database_name
     DB_USERNAME=your_database_username
     DB_PASSWORD=your_database_password
    
  5. Run the Database Migration
    php artisan migrate
    
  6. Start Application
    php artisan serve

About

This is a project of my learning about an api. This api created to provide a filter custom data of weather in East Timor 🇹🇱 from Meteo API data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published