Updates class api content by calling Github api and storing result

def _get_api_content(self):
        """Updates class api content by calling Github api and storing result"""

        if GITHUB_TOKEN is not None:
            self.add_params_to_url({
                "access_token": GITHUB_TOKEN
            })

        api_content_response = requests.get(self.api_url)
        self.api_content = json.loads(
            api_content_response.text
        )