def get_standings(self, league):
league_id = self.league_ids[league]<EOL>try:<EOL><INDENT>req = self._get('<STR_LIT>'.format(<EOL>id=league_id))<EOL>self.writer.standings(req.json(), league)<EOL><DEDENT>except APIErrorException:<EOL><INDENT>click.secho("<STR_LIT>".format(league=league),<EOL>fg="<STR_LIT>", bold=True)<EOL><DEDENT>
Queries the API and gets the standings for a particular league