flathub-infra / website

Monorepo with website and API
https://flathub.org
Apache License 2.0
207 stars 80 forks source link

Show OARS information #114

Open JakobDev opened 2 years ago

JakobDev commented 2 years ago

The OARS informations are currently missing on the Website

razzeee commented 11 months ago

I've been playing around with this for some days, trying to use the c api via pygobject to construct a content rating and call the minimum age method. But it seems like python still hates me.

https://github.com/ximion/appstream/blob/ad04eb71fa85b6c2fb5c62948cf01320407dc0ac/qt/contentrating.cpp#L109

razzeee commented 3 months ago

When we do this, we should also expose it via schema.org if possible https://schema.org/contentRating