遇见数据集

Rotten Tomatoes Ratio Fetcher

收藏
RapidAPI2026-07-20 更新2026-07-21 收录
官方服务:

资源简介:

A simple RESTful that fetches ratio of Tomatometer and Popcornmeter to decide if a movie is worth watching.

创建时间:
2026-07-20
原始信息汇总

数据集概述

名称: Rotten Tomatoes Ratio Fetcher

描述: 一个简单、快速的 RESTful API,用于获取电影或电视节目的 Rotten Tomatoes 评分(Tomatometer 和 Popcornmeter),并自动计算“观影价值比率”(Watchability Ratio)。该比率通过对比影评人评分与观众评分,帮助用户判断一部电影是否值得观看。

关键功能:

  • 实时数据抓取: 实时获取最新的 Tomatometer(影评人评分)和 Popcornmeter(观众评分)。
  • 自定义比率计算: 计算“RT Ratio”(影评人与观众评分之比),比值为 1.0 表示完美一致。
  • 观看推荐: 自动生成 worthWatching 布尔值,当两个评分均达到质量阈值时推荐观看。

API 端点:

  • URL: /api/v1/movies/score
  • 方法: GET
  • 必填参数: name(字符串,电影或电视节目名称,例如 inceptionthe dark knight

响应示例:

  • 成功响应 (200 OK): json { "movieName": "the dark knight", "tomatometer": "94%", "popcornmeter": "94%", "ratio": 1.0, "worthWatching": true }

  • 错误响应:

    • 404: {"status": 404, "message": "Failed to fetch data for movie: fake movie name"}
    • 400: {"status": 500, "message": "An unexpected error occurred: Required request parameter name for method parameter type String is not present"}

技术栈: Java 17, Spring Boot 3, Jsoup(HTML 解析), Lombok, Docker

适用场景:

  • 自动化电影推荐(如“每日电影”机器人)。
  • 在媒体应用中整合 RT 比率。
  • 为 Discord 或 Telegram 机器人提供电影查询功能。

其他信息:

  • 提供商: Garvit
  • 订阅者数: 1
  • 类别: Movies
  • 价格: BASIC 计划($0.00)
二维码
社区交流群
二维码
科研交流群
商业服务