PHPackages                             saling-cz/api-client - 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. saling-cz/api-client

AbandonedLibrary[API Development](/categories/api)

saling-cz/api-client
====================

Sailing.cz API client library

0.1.2(1y ago)05Apache-2.0PHPPHP &gt;= 8.0

Since May 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sailing-cz/api-client)[ Packagist](https://packagist.org/packages/saling-cz/api-client)[ RSS](/packages/saling-cz-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (11)Used By (0)

api-client
==========

[](#api-client)

Instalace klienta do vašeho PHP projektu:

```
composer require sailing-cz/api-client
```

Základní použití veřejných funkcí API:

```
use Sailing\ApiClient\ApiClient;

$api = new ApiClient( 'your-software/1.0' );

$club = $api->getClubs();
```

Přihlášení uživatele k sailing.cz:

```
$api = new ApiClient( 'your-software/1.0' );

$api->loginUser( $username, $password );

$members = $api->getMembers( '2103' );
```

Vytvoření systémového tokenu na základě uživatelského přihlášení:

```
$api = new ApiClient( 'your-software/1.0' );

my $systemToken = $api->createSystemToken( $username, $password, 'my-new-secret', 'my-software-token-1' );

// store $systemToken in db or somewhere
```

Přístup pomocí systémového tokenu:

```
$api = new ApiClient( 'your-software/1.0', FALSE, '2103' );

$api->loginSystem( $systemToken, $systemSecret );

$api->activateLicense( '2103-0847' );
```

Změna e-mailu člena ČSJ:

```
$api = new ApiClient( 'your-software/1.0', FALSE, '2103' );

$api->loginSystem( $systemToken, $systemSecret );

$api->setMemberDetails( '2103-0847', [ 'email' => 'sorm@milansorm.cz' ] );
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~48 days

Total

10

Last Release

526d ago

### Community

Maintainers

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

---

Top Contributors

[![milsorm](https://avatars.githubusercontent.com/u/6371213?v=4)](https://github.com/milsorm "milsorm (20 commits)")

---

Tags

apiapi-clientapi-client-phpevidencesailing

### Embed Badge

![Health badge](/badges/saling-cz-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/saling-cz-api-client/health.svg)](https://phpackages.com/packages/saling-cz-api-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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