Updated Readme
This commit is contained in:
parent
6f7eea0373
commit
1443ef8931
|
@ -1 +1,2 @@
|
||||||
*.json
|
*.json
|
||||||
|
*.swp
|
||||||
|
|
|
@ -51,9 +51,17 @@ func main() {
|
||||||
## API Reference
|
## API Reference
|
||||||
|
|
||||||
### FetchPapers(startDate, endDate, query string, maxResults int) ([]Paper, error)
|
### FetchPapers(startDate, endDate, query string, maxResults int) ([]Paper, error)
|
||||||
|
startDate: Start date in format "YYYYMMDD"
|
||||||
|
endDate: End date in format "YYYYMMDD"
|
||||||
|
query: Search query
|
||||||
|
maxResults: Maximum number of results (1-2000)
|
||||||
Fetches papers from arXiv API
|
Fetches papers from arXiv API
|
||||||
|
|
||||||
### SaveToFile(papers []Paper, startDate, endDate, query string) error
|
### SaveToFile(papers []Paper, startDate, endDate, query string) error
|
||||||
|
papers: Array of Paper structs
|
||||||
|
startDate: Start date in format "YYYYMMDD"
|
||||||
|
endDate: End date in format "YYYYMMDD"
|
||||||
|
query: Search query
|
||||||
Saves papers to a JSON file
|
Saves papers to a JSON file
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
Loading…
Reference in New Issue