Skip to content

About

Unofficial Chomikuj.pl PHP API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chomikuj2

Unofficial Chomikuj.pl PHP API.

Installing

composer require retrowaver/chomikuj2

Usage

Initialization

use Chomikuj\Api;

//...

$chomikuj = new Api();
$chomikuj->login('username', 'password');

Creating folders

// Create some folders in root folder (0)
$chomikuj->createFolder('some folder', 0);
$chomikuj->createFolder('some NSFW folder', 0, true);
$chomikuj->createFolder('some password-protected folder', 0, false, 'some_password');

Removing folders

// Remove folder with id 12345
$chomikuj->removeFolder(12345);

Uploading files

// Upload a file to root folder
$chomikuj->uploadFile(0, 'path/to/file.zip');
// Upload a file to a folder with id 12
$chomikuj->uploadFile(12, 'path/to/another/file.zip');

Logging out

$chomikuj->logout();

Built with

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Unofficial Chomikuj.pl PHP API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages