colrev.ops.search_api_feed.SearchAPIFeed¶
- class SearchAPIFeed(*, review_manager, source_identifier, search_source, update_only, prep_mode=False)[source]¶
Bases:
object
A feed managing results from API searches
Methods
Add a record to the feed and set its colrev_origin
Add or update a record in the api_search_feed and records
Returns the date of the last update (if available) in YYYY-MM-DD format
Get the previous record dict version
Save the feed file and records, printing post-run search infos.
- add_record_to_feed(record, prev_feed_record)[source]¶
Add a record to the feed and set its colrev_origin
- Return type:
bool
- add_update_record(retrieved_record)[source]¶
Add or update a record in the api_search_feed and records
- Return type:
bool