IoTone / NFTYGlobe

An NFC-based 3D NFT Viewer for Opensea.io : A hardware + software project
Apache License 2.0
0 stars 0 forks source link

App is able load a .gltf file using the opensea api #5

Closed truedat101 closed 2 years ago

truedat101 commented 2 years ago

Requirement:

To see this as an example:

curl --request GET --url https://api.opensea.io/api/v1/asset/0x3b3ee1931dc30c1957379fac9aba94d1c48a5405/69049

For general information on the gltf format: https://www.khronos.org/gltf/

Search with this: https://opensea.io/activity/gltf?search[isSingleCollection]=true

truedat101 commented 2 years ago

Do this after #1

truedat101 commented 2 years ago

So we definitely want the animation_url.

truedat101 commented 2 years ago

I need to add a JSON parser .

truedat101 commented 2 years ago

So I'm just doing dirty old school dicts. That works ok.

truedat101 commented 2 years ago

This is all hardcoded in right now and it will get cleaned up once the NFC based tag reader is implemented.