get_osf_project_files#

pypillometry.get_osf_project_files(osf_id, session=None)[source]#

Get all file IDs from an OSF project.

Parameters:
  • osf_id (str) – The OSF project ID

  • session (Optional[Session]) – Authenticated session for accessing private projects. If None, uses unauthenticated requests.

Return type:

dict[str, dict[str, Any]]

Returns:

Dictionary mapping file paths to their IDs, download URLs, file sizes and checksums (md5, sha256; empty if OSF does not provide them)