PHP code example of malickyeu / csfdapi

1. Go to this page and download the library: Download malickyeu/csfdapi library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

malickyeu / csfdapi example snippets



$csfd = new Csfd();

$movies = $csfd->findMovie('Oblivion');
echo $movies[0]->name->cs;

$user = $csfd->getUser(1);
echo $user->portrait_url;