ophim-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

ophim-js

An open-source library for getting information about movies and TV series from Ophim

✨ Features

  • Get newest movies
  • Get list of categories
  • Get list of regions
  • Get movie detail
  • Get list of movies by category/type/region
  • And more...

🚀 Quick Start

npm install ophim-js
import { Ophim, MovieType } from 'ophim-js';

const ophim = new Ophim({
    host: 'https://ophim1.com/',
});

const newestMovies = await ophim.getNewestMovies({ page: 1 });
const movieDetail = await ophim.getMovieDetail({ slug: 'one-piece-film-red' });
const moviesByType = await ophim.getMoviesByType({ movieType: MovieType.PhimBo });

/* ... */

🙌 Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.

License

MIT © Lê Huy Giang

Package Sidebar

Install

npm i ophim-js

Weekly Downloads

170

Version

0.0.5

License

MIT

Unpacked Size

20.1 kB

Total Files

27

Last publish

Collaborators

  • lehuygiang28