Socket
Socket
Sign inDemoInstall

eberts-api

Package Overview
Dependencies
17
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eberts-api

API for rogerebert.com reviews


Version published
Weekly downloads
4
Maintainers
1
Install size
1.51 MB
Created
Weekly downloads
 

Readme

Source

eberts-api

A promise based node library for getting Roger Ebert review data.

Usage

import { fetchReview, fetchGreatMovie } from 'eberts-api';
await fetchReview('Blue Velvet', 1986);
await fetchGreatMovie('Paths of Glory', '1957');

Example output

{
  title: 'Blue Velvet',
  releaseYear: '1986',
  starRating: 1,
  cast: [
    'Kyle MacLachlan',
    'Isabella Rossellini',
    'Dennis Hopper',
    'Laura Dern',
    'Hope Lange',
    'Dean Stockwell',
    'George Dickerson',
    'Richard Roth'
  ],
  crew: [
    'David Lynch',
    'Richard Roth',
    'Frderick Elmes',
    'Duwayne Dunham',
    'Angelo Badalamenti'
  ],
  runtime: '120 minutes',
  rating: 'Rated R',
  reviewWriter: 'Roger Ebert',
  datePublished: 'September 19, 1986',
  url: 'https://www.rogerebert.com/reviews/blue-velvet-1986'
}

fetchGreatMovie returns all of the same information as fetchReview with the exception of reviewWriter and starRating

fetchGreatMovie retrieves data from Ebert's Great Movies reviews

fetchReview retrieves data from Ebert's standard reviews

Both functions will return an error if the provided information is incorrect or not found.

license

MIT

FAQs

Last updated on 09 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc