emendir / IPFS-Toolkit-Python

28 stars 6 forks source link

fetch file from IPFS. #4

Closed Amosharid closed 1 year ago

Amosharid commented 1 year ago

Hi there, I've been trying to find the write method to fetch a file from the IPFS. Does such a method exist in this library?

PaTara43 commented 1 year ago

hey there. It seems to be this https://github.com/emendir/IPFS-Toolkit-Python/blob/master/ipfshttpclient2/client/files.py#L383

emendir commented 1 year ago

Hello,

Previously in was IPFS_API.DownloadFile() In v0.4.1 this has been replaced with IPFS_API.Download(), which is able to download folders from IPFS instead of just files.

Cheers!