def make_api_call(self, call, params):
if not isinstance(params, dict):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>kw = dict(<EOL>params=params,<EOL>headers={"<STR_LIT>": BASE_URL, "<STR_LIT>": f"<STR_LIT>"},<EOL>)<EOL>return self.get(BASE_REST_URL + call, **kw).json()<EOL>
Make a REST API call