{"size": 733, "ext": "scrbl", "max_stars_repo_path": "scribblings/donki-notifications.scrbl", "max_stars_repo_name": "m-hugi/nasa-open-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scribblings/donki-notifications.scrbl", "max_issues_repo_name": "m-hugi/nasa-open-api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scribblings/donki-notifications.scrbl", "max_forks_repo_name": "m-hugi/nasa-open-api", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 38.5789473684, "max_line_length": 92, "alphanum_fraction": 0.6043656207}
#lang scribble/manual

@title{DONKI Notification System}

@defproc[(get-notifications [dates pair?]
                            [#:api_key api_key string? "DEMO_KEY"]) (listof notification?)]{
 Returns list of @racket[notification] within specified date range

 @hspace[4] @italic{Dates must be in the form of YYYY-MM-DD.
  (By default, startDate is 7 days ago and endDate is the current date)}
}

@defstruct[notification ([messageType      string?]
                         [messageID        string?]
                         [messageURL       string?]
                         [messageIssueTime string?]
                         [messageBody      string?])]{
 DONKI Notification contents. Returned from @racket[get-notifications]
}