rdx/imdb-user-api

Fake API client for IMDB user data

Installs: 91

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/rdx/imdb-user-api

dev-master 2025-10-09 23:13 UTC

This package is auto-updated.

Last update: 2025-10-09 23:13:52 UTC


README

Fake API client for IMDB USER data.

Scrapes IMDB for your USER data, like ratings, watchlist, etc. Since IMDB doesn't have a USER API, and doesn't like robots, you can't log in with this package, so you need to log in with a real browser, copy 2 cookie values, and use that for auth:

$client = new Client(new AuthSession("Cookie 'at-main'", "Cookie 'ubid-main'"));

And then you do a 'login' (but not really) and session check:

$loggedIn = $client->logIn(); // bool

And then you can fetch your USER data:

$client->getLists(); // ListMeta[]

$client->rateTitle('tt1234567', 8); // bool

$client->addTitleToWatchlist('tt1234567'); // bool

$client->removeTitleFromWatchlist('tt1234567'); // bool

$client->titleInWatchlist('tt1234567'); // bool