Skip to content

LegacyPHPDoctor/pouler_soundcloud-api-php-7-4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legacyphpdoctor/pouler_soundcloud-api-php-7-4

WARNING: This repository is a PHP 7.4 compatible fork of pouler/soundcloud-api.

Latest Stable Version Latest Unstable Version

SoundCloud API PHP

This is a PHP wrapper for the SoundCloud API.

Requirements

  • PHP >=8.1
  • Symfony HTTP Client

Installation

Install it using Composer:

composer require legacyphpdoctor/pouler_soundcloud-api-php-7-4
<?php

require 'vendor/autoload.php';

$curl = new \Symfony\Component\HttpClient\CurlHttpClient();
$client = new PouleR\SoundCloudAPI\SoundCloudClient($curl);

$api = new \PouleR\SoundCloudAPI\SoundCloudAPI($client);
$api->setClientId('client.id');

// Get information about given user
$api->getUser(123456);

// Get information about current usr
$api->setAccessToken('access.token');
$api->getUser();

var_dump($result);

About

This is a port of the "PouleR / SoundCloud API PHP" PHP 7.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%