docs: def _rate_limit_status(self, api=None, mode=None):
          """
              Verifying the API limits
          """
          if api == None:
              api = self.connectToAPI()
  
          if mode == None:
              print json.dumps(api.rate_limit_status(), indent=2)
              raw_input("<Press ENTER>")
          else:
              # Testing if we have enough queries
              while True:
                  allLimits = api.rate_limit_status()
                  if mode == "get_user":
                      limit = allLimits["resources"]["users"]["/users/show/:id"]["limit"]
                      remaining = allLimits["resources"]["users"]["/users/show/:id"]["remaining"]
                      reset = allLimits["resources"]["users"]["/users/show/:id"]["reset"]
                  elif mode == "get_followers":
                      limit = allLimits["resources"]["followers"]["/followers/ids"]["limit"]
                      remaining = allLimits["resources"]["followers"]["/followers/ids"]["remaining"]
                      reset = allLimits["resources"]["followers"]["/followers/ids"]["reset"]
                  elif mode == "get_friends":
                      limit = allLimits["resources"]["friends"]["/friends/ids"]["limit"]
                      remaining = allLimits["resources"]["friends"]["/friends/ids"]["remaining"]
                      reset = allLimits["resources"]["friends"]["/friends/ids"]["reset"]
                  elif mode == "search_users":
                      limit = allLimits["resources"]["users"]["/users/search"]["limit"]
                      remaining = allLimits["resources"]["users"]["/users/search"]["remaining"]
                      reset = allLimits["resources"]["users"]["/users/search"]["reset"]
                  else:
                      remaining = 1
                  """elif mode == "get_all_docs":
                      limit = allLimits["resources"]REPLACEME["limit"]
                      remaining = allLimits["resources"]REPLACEME["remaining"]
                      reset = allLimits["resources"]REPLACEME["reset"]"""
                  """elif mode == "get_users":
                      limit = allLimits["resources"]REPLACEME["limit"]
                      remaining = allLimits["resources"]REPLACEME["remaining"]
                      reset = allLimits["resources"]REPLACEME["reset"] """
                  """else:
                      remaining = 1"""
                  # Checking if we have enough remaining queries
                  if remaining > 0:
                      #raw_input(str(remaining) + " queries yet...")
                      break
                  else:
                      waitTime = 60
                      print "No more queries remaining, sleeping for " + str(waitTime) +" seconds..."
                      time.sleep(waitTime)
  
          return 0