code: def create_api_handler(self):
          
          try:
              self.github = github3.login(username=config.data['gh_user'],
                                      password=config.data['gh_password'])
          except KeyError as e:
              raise config.NotConfigured(e)
          logger.info("ratelimit remaining: {}".format(self.github.ratelimit_remaining))
          if hasattr(self.github, 'set_user_agent'):
              self.github.set_user_agent('{}: {}'.format(self.org_name, self.org_homepage))
          try:
              self.org = self.github.organization(self.org_name)
          except github3.GitHubError:
              logger.error("Possibly the github ratelimit has been exceeded")
              logger.info("ratelimit: " + str(self.github.ratelimit_remaining))
docs: Creates an api handler and sets it on self