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, str]]

Returns:

Dictionary mapping file paths to their IDs, download URLs, and file sizes