Can this code also include downloading the json files?
shwin0x opened this issue · 5 comments
shwin0x commented
Can this code also include downloading the json files?
sj-dan commented
What exactly do you mean, the json file? Do you mean the JSON surrounding each individual NFT?
For example, if the API returns the following:
"assets": [
{
"token_id": 1,
"image_url": "https://example.com/image.png",
"name": "random name",
"price": "50ETH"
}
]
What do you want the JSON file to output?
shwin0x commented
Yea. The individual json files associated with each images.
shwin0x commented
I mean evey image will have an associated json like what you have described above. Can that also be downloaded?
sj-dan commented
All done. The program will now create a subfolder called image_data
. Inside this, it will create numbered json files (i.e. 5620.json
) corresponding to its respective NFT.
shwin0x commented
Thanks