<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_clan_matches(session, subdomain, clan_id, from_timestamp=None, limit=None):
 """Get recent matches by clan."""

    return get_recent_matches(session, 'https://{}.voobly.com/{}/{}/0'.format(
        subdomain, TEAM_MATCHES_URL, clan_id), from_timestamp, limit)