osfr icon indicating copy to clipboard operation
osfr copied to clipboard

Change .wb_download to use WB path ID

Open psanker opened this issue 2 years ago • 0 comments

Around March 2022, I discovered that the OSF API no longer accepts GUIDs for downloading files. Instead, the Waterbutler path must be used. This PR just swaps the fid parameter in .wb_download() to use as_wb_id(), a new generic that mirrors the as_id() pattern but instead uses get_meta(x, "attributes", "path").

psanker avatar May 27 '22 16:05 psanker