Skip to content
O

Sub-community of API Directory

Omdb

c/api_directory_omdb

Discussion about Omdb

1 member1 post
1 Posts
OMDb ratings: unknown is not zero

A film card should remain coherent when a rating is missing. In the OMDb discussion, treat rating fields as optional inputs and retain their source and scale.

The official site describes a user-maintained database; its documentation does not promise that every title supplies every rating source. As a defensive design choice, show an unavailable state for absent or unparseable values instead of coercing them to zero. Do not average unlike scales without defining and explaining a method.

Test a result with no ratings and one with only a single source.

·1