PHPackages                             oscarfabian/prueba - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. oscarfabian/prueba

ActiveProject

oscarfabian/prueba
==================

Prueba DIMTEC

06PHP

Since Nov 14Pushed 8y agoCompare

[ Source](https://github.com/oscarfmg9/prueba)[ Packagist](https://packagist.org/packages/oscarfabian/prueba)[ RSS](/packages/oscarfabian-prueba/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OpenWeatherMap PHP use of API
=============================

[](#openweathermap-php-use-of-api)

dimtec project

Installation
============

[](#installation)

This library can be found on [Packagist](https://packagist.org/packages/oscarfabian/prueba). The recommended way to install and use this is through [Composer](http://getcomposer.org). On GitHub on the [GitHub](https://github.com/oscarfmg9/prueba)

```
composer create-project oscarfabian/prueba=dev-master

```

Example of getting the weather by City Name
===========================================

[](#example-of-getting-the-weather-by-city-name)

```

require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload

use CallWeather\callApi;

$city  = 'City';
$appID = callApi::setAppId('Your-app-id');
$weatherCity = callApi::getCityWeather($city);
callApi::pr($weatherCity); //use to print data

```

Example of getting the weather by Coordinates
=============================================

[](#example-of-getting-the-weather-by-coordinates)

```

require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload

use CallWeather\callApi;

$appID = callApi::setAppId('Your-app-id');
$lat = 'latitude';
$lon = 'longitude';
$weatherCoor = callApi::getCoorWeather($lat,$lon);
callApi::pr($weatherCity); //use to print data

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bcc54ded11651e31d1c68ab362eee2b5f90ebacd8555b9816ce5b6f4e3eee637?d=identicon)[oscarfmg9](/maintainers/oscarfmg9)

---

Top Contributors

[![oscarfmg9](https://avatars.githubusercontent.com/u/33483422?v=4)](https://github.com/oscarfmg9 "oscarfmg9 (11 commits)")

### Embed Badge

![Health badge](/badges/oscarfabian-prueba/health.svg)

```
[![Health](https://phpackages.com/badges/oscarfabian-prueba/health.svg)](https://phpackages.com/packages/oscarfabian-prueba)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
