{"size": 684, "ext": "scrbl", "max_stars_repo_path": "scribblings/apod.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/apod.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/apod.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": 34.2, "max_line_length": 75, "alphanum_fraction": 0.5029239766}
#lang scribble/manual

@title{APOD (Astronomy Picture of the Day)}

@defproc[(get-apod [date string?]
                   [#:api_key api_key string? "DEMO_KEY"]) (listof apod?)]{
 Returns data for APOD of specified date
 @hspace[4] @italic{(Date must be in format YYYY-MM-DD).}
}

@defstruct[apod ([title           string?]
                 [date            string?]
                 [explanation     string?]
                 [copyright       (or/c string? null?)]
                 [service-version string?]
                 [media-type      string?]
                 [url             string?]
                 [hdurl           string?])]{
 APOD data. Returned by @racket[get-apod].
}