<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_apod(cls, date=None, hd=False):
 """ Returns Astronomy Picture of the Day Args: date: date instance (default = today) hd: bool if high resolution should be included Returns: json """

        instance = cls('planetary/apod')
        filters = {
            'date': date,
            'hd': hd
        }

        return instance.get_resource(**filters)