FlipsideCrypto / flow-models

dbt models for the Flow blockchain. Docs linked below.

Home Page:https://flipsidecrypto.github.io/flow-models/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`VIDEO_URLS` for `DIM_ALLDAY_METADATA` are private and do not load

ltirrell opened this issue · comments

The VIDEO_URLS for DIM_ALLDAY_METADATA are stored on Google Cloud, and are not publicly accessible. I'm unsure if there is another on-chain/API-based source for a URL that is publicly viewable.

However, it is possible to view videos on the NFL ALL DAY site. These can be constructed from parameters given in this table:

    moment_stats_full  ['id'] as id,
    lower(replace(set_name, ' ', '_')) as set_name_clean,
    concat(
        'https://assets.nflallday.com/editions/',
        set_name_clean,
        '/',
        id,
        '/play_',
        id,
        '_',
        set_name_clean,
        '_capture_AnimationCapture_Video_Square_Grey_1080_1080_Grey.mp4'
    ) as nflallday_assets_url

For example, this Levi Wallace Moment (NFT_ID 1992250) has a video available here.

I'm not sure if this is stable/resilient, but it would be nice to have videos available in some way!

Example query here.

Thanks @ltirrell - these are in the metadata so Dapper must be blocking access to external viewers. Appreciate the code, I'll integrate the working URL in. It's nice to have.

the NFL marketplace site page may be better, and looks a lot less hacky. its

f"https://nflallday.com/listing/moment/{x}"

where x is moment_stats_full ['flowID'] from flow.core.dim_allday_metadata

🫡🌲

@ltirrell
Any interest in PRing this enhancement and getting a feel for dbt models?

Yes, been meaning to do that for awhile. Will try to take a look within the next week

Sweet, we definitely want to expand community contributions, in general.

This fell off my radar, but glad it was added!