An open-source library for getting information about movies and TV series from Ophim
- Get newest movies
- Get list of categories
- Get list of regions
- Get movie detail
- Get list of movies by category/type/region
- And more...
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 });
/* ... */
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.