Get your projects.

 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array] operation results.
182997
def get_projects(custom_headers:nil)
      response = get_projects_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
675227
function (project_hash_id, cb) {

            _util.buildQuery('projects/' + project_hash_id, {}, function (error, data) {

                return cb(error, data);

            });

        }
1033413
def project(project_id, opts = {})
      data, _status_code, _headers = project_with_http_info(project_id, opts)
      return data
    end
720900
def list_usages(location, custom_headers:nil)
      response = list_usages_async(location, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
518721
def get_all_projects(self, scope):
        
        url = "{0}/{1}/{2}".format(self.keystone_server_url, DEFAULT_KEYSTONE_API_VERSION, "projects")
        headers = {'X-Auth-Token': scope.auth_token}
        try:
            r = self._make_request_with_auth_fallback(url, headers)
            return r['projects']

        except Exception as e:
            self.warning('Unable to get projects: {0}'.format(str(e)))
            raise e

        return None
1249500
def list_all(custom_headers:nil)
      response = list_all_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
101461
def project(*names)
      new(names.map { |name| name.is_a?(Symbol) ? self[name] : name })
    end
1294953
def projects(options={})
      response = connection.get do |req|
        req.url "/api/v1/projects", options
      end
      response.body
    end
8648
def get_project(self, project_name):
        
        headers = {}
        params = {}
        resource = "/"

        (resp, header) = self._send("GET", project_name, None, resource, params, headers)
        return GetProjectResponse(resp, header)
1300346
def list_available_request_headers(custom_headers:nil)
      response = list_available_request_headers_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
276683
def headers
      @headers ||= @raw_headers.inject({}) do |result, (key, value)|
        result.merge(key.split("-").map(&:capitalize).join("-") => value)
      end
    end
644785
def index
      @project = Project.find params[:project_id]
      @apis = @project.apis.page(params[:page]).per(RailsApiDoc::Api::DEFAULT_PAGE_SIZE)
  
      respond_to do |format|
        format.html # index.html.erb
        format.json { render json: @apis }
      end
    end
685242
def get_keys(custom_headers:nil)
      response = get_keys_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
347064
def todolists
      response = self.class.get '/todolists.json'
      handle_response(response,
        Proc.new { |h|
          list = Logan::TodoList.new(h)

          # grab the project ID for this list from the url
          list.project_id = list.url.scan( /projects\/(\d+)/).last.first

          # return the list so this method returns an array of lists
          list
        }
      )
    end
931282
def new
      @project = Project.find params[:project_id]
      @api = @project.apis.new
      @parameters = @api.parameters.build
      @api.success_responses.build
      @api.failure_responses.build
  
      respond_to do |format|
        format.html # new.html.erb
        format.json { render json: @api }
      end
    end
903260
def get_v1_batch_token_from_headers(headers)
      if headers.is_a?(Hash) && headers.has_key?('Link')
        match = /^<([^>]+)>;rel='next'$/.match(headers['Link'])
        if match
          uri = URI.parse(match[1])
          params = CGI.parse(uri.query)
          return params['batch_token'][0]
        end
      end
    end
1245408
public static function get(array $customHeaders = []): BunqResponseUser
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [static::determineUserId()]
            ),
            [],
            $customHeaders
        );

        return BunqResponseUser::castFromBunqResponse(
            static::fromJson($responseRaw)
        );
    }