Sha256: 5da4131a02d4aed086b073d207711856235ebcb4e4170527a32bd0dfc436b8c3

Contents?: true

Size: 1.73 KB

Versions: 439

Compression:

Stored size: 1.73 KB

Contents

# CybridApiBank::SymbolsBankApi

All URIs are relative to *https://bank.demo.cybrid.app*

| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**list_symbols**](SymbolsBankApi.md#list_symbols) | **GET** /api/symbols | Get Symbols list |


## list_symbols

> Array<String> list_symbols

Get Symbols list

Retrieves a listing of symbols.  Required scope: **prices:read**

### Examples

```ruby
require 'time'
require 'cybrid_api_bank_ruby'
# setup authorization
CybridApiBank.configure do |config|
  # Configure Bearer authorization (JWT): BearerAuth
  config.access_token = 'YOUR_BEARER_TOKEN'

  # Configure OAuth2 access token for authorization: oauth2
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = CybridApiBank::SymbolsBankApi.new

begin
  # Get Symbols list
  result = api_instance.list_symbols
  p result
rescue CybridApiBank::ApiError => e
  puts "Error when calling SymbolsBankApi->list_symbols: #{e}"
end
```

#### Using the list_symbols_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(Array&lt;String&gt;, Integer, Hash)> list_symbols_with_http_info

```ruby
begin
  # Get Symbols list
  data, status_code, headers = api_instance.list_symbols_with_http_info
  p status_code # => 2xx
  p headers # => { ... }
  p data # => Array&lt;String&gt;
rescue CybridApiBank::ApiError => e
  puts "Error when calling SymbolsBankApi->list_symbols_with_http_info: #{e}"
end
```

### Parameters

This endpoint does not need any parameter.

### Return type

**Array&lt;String&gt;**

### Authorization

[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

439 entries across 439 versions & 1 rubygems

Version Path
cybrid_api_bank_ruby-0.35.3 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.35.2 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.35.1 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.35.0 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.45 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.44 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.43 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.42 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.41 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.39 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.38 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.37 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.36 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.35 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.34 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.33 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.32 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.31 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.30 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.34.28 docs/SymbolsBankApi.md