Skip to content

Commit b55a46a

Browse files
committed
Merge branch 'master' of https://github.com/Quiec/php-tidal
2 parents 232847a + 332b3c0 commit b55a46a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
11
# php-tidal
2+
23
Unofficial PHP API for TIDAL music streaming service.
4+
5+
## Installation
6+
7+
Install from [Composer](https://getcomposer.org/) using `composer`:
8+
9+
``` bash
10+
$ composer require quiec/php-tidal
11+
```
12+
13+
## Example usage
14+
15+
``` php
16+
<?php
17+
require_once "vendor/autoload.php";
18+
19+
use Tidal\TidalAPI;
20+
21+
$tidal = new TidalAPI();
22+
$tidal->logIn("user", "pass");
23+
$ara = $tidal->search("istanbul");
24+
25+
foreach ($ara as $sonuc) {
26+
echo $sonuc["artist"]["name"] . " - " . $sonuc["title"] . "\n";
27+
}
28+
```
29+
30+
## Documentation
31+
32+
I will add.

0 commit comments

Comments
 (0)