PHPackages                             uldisn/sharkscope - 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. uldisn/sharkscope

ActiveLibrary[API Development](/categories/api)

uldisn/sharkscope
=================

PHP library for working with ShatkSkope API

1.0.17(3y ago)3204↓100%BSD-4-ClausePHP

Since Apr 26Pushed 2y ago2 watchersCompare

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

READMEChangelog (10)DependenciesVersions (20)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/2290f1189fa9a64c6e68d175789e85c65c2123e6f49d32710dd6f085169da9ea/68747470733a2f2f706f7365722e707567782e6f72672f756c6469736e2f736861726b73636f70652f76)](//packagist.org/packages/uldisn/sharkscope)[![Total Downloads](https://camo.githubusercontent.com/af363d09c29e66480ec8d4e7a32dc751ee968ba4d9e7aedba053253fe88aacbd/68747470733a2f2f706f7365722e707567782e6f72672f756c6469736e2f736861726b73636f70652f646f776e6c6f616473)](https://packagist.org/packages/uldisn/sharkscope)[![Latest Unstable Version](https://camo.githubusercontent.com/df1fc81194bb56d3f577945c0a7fec6fb3f14b2e4fbbb58bce4c6905561e7126/68747470733a2f2f706f7365722e707567782e6f72672f756c6469736e2f736861726b73636f70652f762f756e737461626c65)](https://packagist.org/packages/uldisn/sharkscope)[![License](https://camo.githubusercontent.com/db668802cd67ebbf44ffcdc8384232e512c55deb90efe728be7082ea604752a6/68747470733a2f2f706f7365722e707567782e6f72672f756c6469736e2f736861726b73636f70652f6c6963656e7365)](https://packagist.org/packages/uldisn/sharkscope)[![Code Climate](https://camo.githubusercontent.com/669341813a97a13f0ac6da9c234a202c7499dc93aa6042ab43f4de2c234206c7/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f756c6469736e2f736861726b73636f70652f6261646765732f6770612e737667)](https://codeclimate.com/github/uldisn/sharkscope)

PHP SharkScope API
==================

[](#php-sharkscope-api)

For

Features
--------

[](#features)

- Create/remove groups
- Add players to groups
- get group statistic

Installation
------------

[](#installation)

```
php composer.phar require uldisn/sharkscope dev-master
```

Usage
-----

[](#usage)

```
        $domain = 'http://www.sharkscope.com';
        $userName = '???????????????';
        $password = '??????????';
        $appKey = '??????????????';
        $appName = '???????';

        $client = new SharcScopeClient($domain, $appName, $userName, $password, $appKey);
        $this->client->setLogging('shark-log',$username,'player statistic');

        if($client->requestGroupList()) {
            $groupList = $this->client->responseData;
        }else{
            $this->out('Invalid response from requestGroupList');
            print_r($this->client->respError);
            die();
        }

        $playerStatistic = new ResponseHelper($groupList);
        $groupsPlayers = ($playerStatistic->findGroupPlayersAll('PREFIX_', '_SUFIX'));

        $from = new \DateTime($pgLimit->start_date);
        $to = new \DateTime($pgLimit->end_date);
        $filter = FilterHelper::createDateFromToValue($from, $to);

        if(!$client->removePlayerFromGroup($groupName,$network,$player,$filter)){
            $this->out('Invalid response from removePlayerFromGroup');
            if($client->respError) {
                print_r($client->respError);
            }else {
                print_r($client->respHeader);
            }

        }

```

### Change log

[](#change-log)

- 1.0.0 (Apr 25, 2017) - It work!
- 1.0.1 (Apr 27, 2017) - In FilterHelper implemented SharkScopeEnd date
- 1.0.2 (Apr 27, 2017) - Implemented GMT time zone for DateTime
- 1.0.3 (Apr 29, 2017) - To FilterHelper added method dateActualYear()
- 1.0.4 (Apr 30, 2017) - Solved GMT problem
- 1.0.8 (Mar 1, 2021) - added method requestActiveTournaments()
- 1.0.13 (Nov 16, 2022) - added method deleteGroup()
- 1.0.14 (Nov 22, 2022) - added method requestUser()
- 1.0.15 (Feb 22, 2023) - added logging
- 1.0.16 (Mar 3, 2023) - added method requestGroupListByFullName()

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 86% 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 ~125 days

Recently: every ~26 days

Total

18

Last Release

1164d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/542187ba859514d10d0952dca77df8ea889a9651b249d0b5b513da791fd2919b?d=identicon)[uldisn](/maintainers/uldisn)

---

Top Contributors

[![uldisn](https://avatars.githubusercontent.com/u/3525344?v=4)](https://github.com/uldisn "uldisn (43 commits)")[![viljums](https://avatars.githubusercontent.com/u/6377908?v=4)](https://github.com/viljums "viljums (4 commits)")[![ChristopherKK](https://avatars.githubusercontent.com/u/3840715?v=4)](https://github.com/ChristopherKK "ChristopherKK (3 commits)")

---

Tags

apiSharkScope

### Embed Badge

![Health badge](/badges/uldisn-sharkscope/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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