PHPackages                             juniorfontenele/perguntados - 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. [API Development](/categories/api)
4. /
5. juniorfontenele/perguntados

ActiveLibrary[API Development](/categories/api)

juniorfontenele/perguntados
===========================

API for Preguntados Game from Etermax

v1.0.3(10y ago)320MITPHPPHP &gt;=5.5.9

Since Jan 24Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (6)Used By (0)

Perguntados API
===============

[](#perguntados-api)

An API to Preguntados Game by Etermax

This package provides an interface to interact with 'Preguntados' Game from Etermax

Requirements
------------

[](#requirements)

You'll need to have an open session with Preguntados Game and know your Preguntados' user\_id. You can access this information following [this tutorial](http://www.seguridadofensiva.com/2014/01/como-ganar-siempre-al-juego-preguntados.html).

Instalation
-----------

[](#instalation)

The easiest way to install this package is using composer:

```
composer require juniorfontenele/perguntados

```

Usage
-----

[](#usage)

- Rename .env.example to .env
- Replace 'USER\_ID' with your Preguntados' USER ID
- Replace 'APP\_COOKIE' with your Preguntados' session cookie (ap\_session)
- Import Perguntados Class to your file:

```
require_once __DIR__ . '/../../vendor/autoload.php';
use Perguntados\Perguntados;
$Perguntados = new Perguntados();
```

### List All Pending and Active Games

[](#list-all-pending-and-active-games)

```
$games = $Perguntados->getGames();
foreach ($games as $game) {
    echo $game->toJson();
}
```

### Get Info on a specific game

[](#get-info-on-a-specific-game)

```
$gameId = '1234567890';
$game = $Perguntados->getGame($gameId);
echo $game->toJson();
```

### Win a Game

[](#win-a-game)

```
try {
    $Perguntados->winGame($game);
} catch(Exception $e) {
    echo "Failed to win game: " . $e->getMessage();
}
```

### Play and Win a Random Duel

[](#play-and-win-a-random-duel)

```
try {
    $Perguntados->winRandomDuel();
} catch(Exception $e) {
    echo "Failed to win random game: " . $e->getMessage();
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/juniorfontenele/perguntados/blob/master/LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

3757d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3694405?v=4)[Junior Fontenele](/maintainers/juniorfontenele)[@juniorfontenele](https://github.com/juniorfontenele)

---

Top Contributors

[![juniorfontenele](https://avatars.githubusercontent.com/u/3694405?v=4)](https://github.com/juniorfontenele "juniorfontenele (9 commits)")

### Embed Badge

![Health badge](/badges/juniorfontenele-perguntados/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

640431.7k4](/packages/netflie-whatsapp-cloud-api)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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