diff --git a/README.md b/README.md index 5662ce2..af4e1e0 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ A `Search` specifies a search of arXiv's database. arxiv.Search( query: str = "", id_list: List[str] = [], - max_results: int | None = None, + max_results: int | None = 100, sort_by: SortCriterion = SortCriterion.Relevance, sort_order: SortOrder = SortOrder.Descending ) @@ -44,7 +44,7 @@ arxiv.Search( + `query`: an arXiv query string. Advanced query formats are documented in the [arXiv API User Manual](https://arxiv.org/help/api/user-manual#query_details). + `id_list`: list of arXiv record IDs (typically of the format `"0710.5765v1"`). See [the arXiv API User's Manual](https://arxiv.org/help/api/user-manual#search_query_and_id_list) for documentation of the interaction between `query` and `id_list`. -+ `max_results`: The maximum number of results to be returned in an execution of this search. To fetch every result available, set `max_results=None` (default); to fetch up to 10 results, set `max_results=10`. The API's limit is 300,000 results. ++ `max_results`: The maximum number of results to be returned in an execution of this search. To fetch every result available, set `max_results=None`. The API's limit is 300,000 results. + `sort_by`: The sort criterion for results: `relevance`, `lastUpdatedDate`, or `submittedDate`. + `sort_order`: The sort order for results: `'descending'` or `'ascending'`.