def get_courses_in_account(self, account_id, params={}):
if "<STR_LIT>" in params:<EOL><INDENT>params["<STR_LIT>"] = "<STR_LIT:true>" if params["<STR_LIT>"] else "<STR_LIT>"<EOL><DEDENT>url = ACCOUNTS_API.format(account_id) + "<STR_LIT>"<EOL>courses = []<EOL>for data in self._get_paged_resource(url, params=params):<EOL><INDENT>courses.append(CanvasCourse(data=data))<EOL><DEDENT>return courses<EOL>
Returns a list of courses for the passed account ID.

https://canvas.instructure.com/doc/api/accounts.html#method.accounts.courses_api