feat: OSF SearchSource
Description
Currently, the Open Science Framework (OSF) is not available as a SearchSource within the CoLRev environment. This feature request aims to develop and integrate OSF as a new SearchSource, enabling users to search and retrieve data from OSF projects directly through CoLRev, with an emphasis on supporting authentication for access.
Preferred Solution
Create a new SearchSource for OSF that:
- Implements the
searchmethod to query the OSF API for projects based on specified search criteria (e.g., title, tags, contributors). - Supports token-based authentication to access the OSF API, following the example set by the IEEE SearchSource implementation. This will allow users to perform authenticated searches and access private or restricted projects where permissions are granted.
User Story
-
Initialize CoLRev: A user begins by initializing a new CoLRev project with the command
colrev init, setting up the environment for integrating with OSF. -
Add OSF SearchSource: The user adds OSF as a search source using the command
colrev add -a colrev.osf, which prompts them to enter necessary search parameters and authentication details for the OSF API. -
Execute Search: With the search source and parameters configured, the user runs the search using
colrev search, which utilizes the entered API token for authenticated access to the OSF API and returns relevant project data. - Process and Store Results: The retrieved data, including detailed project metadata and resources, is processed and made available for further actions within CoLRev, such as analysis or reporting.
Links for Reference and Development
- OSF API Documentation - Essential for understanding how to interact with the OSF API, including authentication and data retrieval.
- IEEE Package for Token Authentication Example - To reference the implementation of token-based authentication.
Expected Effort
- Duration: 2 months
- Team Requirement: 3-4 individuals
I would like to contribute to that issue as my second choice
I would like to work on this issue
I would like to work on this issue
as second choice
I would like to contribute to that issue as my second choice
I would like to contribute to that issue as my second choice
I want to contribute to this issue as my second choice
I want to contribute to this issue as my second choice
We should have a group of 3 here: @pmao0907 , @MingxinJiang and @JohannesDiel (?) Does that work for you?
Thank you, @JohannesDiel for joining this issue. Please go ahead, select a group lead, fork the repository and link your repository in this feed :+1:
Link to repository: https://github.com/pmao0907/colrev
@MingxinJiang @JohannesDiel