Metadata-Version: 2.5
Name: skycast-google
Version: 0.1.0
Summary: A Python client for Google Maps Geocoding and Weather forecast APIs
Project-URL: Homepage, https://github.com/Gimms11/skycast-google
Author-email: Albert Mijael Garayar Munive <mijael.gara@gmail.com>
License-Expression: MIT
Keywords: forecast,google-maps,google-weather,skycast,weather
Requires-Python: >=3.10
Requires-Dist: requests>=2.28.0
Description-Content-Type: text/markdown

# skycast-google

A lightweight Python client for Google Maps Geocoding and Weather forecast APIs.

## Installation

```bash
pip install skycast-google
```

*(This automatically installs dependencies like `requests`).*

## Quick Start

```python
import os
from skycast_google import Weather

# Initialize with your Google API Key
api_key = os.getenv("API_KEY_GOOGLE")
weather = Weather(api_key=api_key)

# Get 7-day forecast text
forecast_text = weather.request_forecast_text(city="Lima", days=7)
print(forecast_text)
```

### Get Raw Forecast Data

```python
forecast_days, location_name = weather.request_forecast(city="Ica", days=7)

for day in forecast_days:
    date = day["displayDate"]
    condition = day["daytimeForecast"]["weatherCondition"]["description"]["text"]
    print(f"{date['day']}/{date['month']}/{date['year']}: {condition}")
```

## License

MIT
