daunoanove/500pxbot

This package is abandoned and no longer maintained. No replacement package was suggested.

500px Bot

1.0.4 2020-08-24 18:16 UTC

This package is auto-updated.

Last update: 2021-05-02 10:16:48 UTC


README

This repository has been archived.
You can use the new version:
https://github.com/daunoanove/500pxbot-v2

500pxBot

Fast library to use for 500px, without ufficial API. You can follow/unfollow users, like/unlike photos and get user followers/following.

Example user link you can use (follow/unfollow):

Examples photo link you can use (like/unlike):

Installation (with Composer)

$ composer require daunoanove/500pxbot

Use

<?php

require 'vendor/autoload.php';

use _500pxBot\_500pxBot;

$_500pxBot = new _500pxBot('email@domain.com', 'my500pxPassword');
$_500pxBot->follow('LINK');
$_500pxBot->unfollow('LINK');
$_500pxBot->like('LINK');
$_500pxBot->unlike('LINK');
$_500pxBot->getFollowersFollowing('LINK');