Allow users to change api keys through OpenBB SDK (#2642)

* set fred keys through api

* linting

* doc change

* expose api keys dict

* allow optional persistency of api key change

* black

* place decorators

* add keys paths

* av and fmp keys

* some fixes

* rewrite av, fmp, fred cassettes

* quandl key

* polygon key

* rewrite polygon cassette

* news and tradier

* cmc key

* change some docstring

* change some docstring

* filtered keys dict on mykeys

* simplify mykeys collection

* revert arg to persist

* finnhub

* iex key

* reddit key

* reddit docstring

* check for prefix before removing

* glassnode key

* glassnode virtual path

* bitquery keys

* twitter key

* robinhood key

* degiro keys

* oanda key

* binance keys

* si key

* coinbase key

* refactor btcrb dates and logic

* walert key

* coinglass key

* regenerate cassettes

* cpanic keys

* ethplorer keys

* replace ouput status failed msg

* smartstake keys

* gitub keys

* messari keys

* eodhd keys

* santiment keys

* remove unused imports

* typo formatting test

* remove forbidden arg

* fix btcrb test

* fix test import

* revert cassette changes

* fix more tests

* fix last failing

* black

* try to change status to int code

* change status to int

* first try at keys controller refactoring

* fix some tests accordingly

* display msg on set

* change some vars

* remove elifs

* add progress bar and remove duplicate key check

* add mykeys and refresh to menu

* remove unused import

* change mykeys output to df

* remove check keys from keys ctrl tests

* update test split to new structure

* reduce duplicate code

* upper case

* change var name

* rename mykeys df cols

* add keys integrations tests

* add mykeys test to keys controller

* fix mykeys

* fix wrong eodhd var name

* pylint

* test_set_key

* black

* patch dotenv kinda

* fix mypy

* remove refresh

* filter mykeys df

* filter mykeys df

* update integration tests

* first unit test for set api key

* add 2 more test cases to fred

* add persist test to fred unittest

* add av unittest

* add polygon unittest

* generate av cassettes

* add unittests av, fmp, quandl, polygon, fred

* change si token to key

* forgot controller func

* unittest: news, tradier, cmc, finnhub, iex, bitquery

* add si unittest

* update eodhd key name

* add unittest: walert, glassnode, coinglass, cpanic, ethplorer, github, messari, eodhd, santiment

* black

* add reddit unittest

* refactor unittests to handle multi args

* regenerate cassettes

* add more unittests

* add degiro, oanda and rh unittest

* generate oanda records

* fix rh and degiro unittest

* fix oanda unittest

* black

* flake8

* fix si controller test

* move tmp

* pylint

* fix av test

* fix fmp key check

* rewrite fmp

* rewrite oanda output

* fix quandl check

* rewrite expected

* supress logger exception

* fix iex cloud key

* remove iex warning

* fix coinglass check key

* cpanic fix

* regenerate cpanic cassettes

* flake8

* fix smartstake keys check

* regenerate expected output

* fix eodhd

* try at binance

* black

* fix controller tests

* pylint

* disable warning

* flake

* add option to show keys

* add Enum to model

* regenerate test output

* update contributing

* flake

* fix type hint

* remove status msg dict

* pylint

* regenerate and remove unecessary cassettes

* remove duplicate return

* supress traceback

* remove unused imports

* update some docstrings

* add todo

* add export option to mykeys

* minor change

* refactor color scheme

* update contributing

* update contributing

* regenerate cassettes

* fix check output

* small msg change

* small details

* rewrite some tests

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
This commit is contained in:
montezdesousa
2022-10-08 12:30:23 +02:00
committed by GitHub
parent 2b4306fc17
commit 732a614937
226 changed files with 8648 additions and 1378 deletions

129
CONTRIBUTING.md vendored
View File

@@ -6,51 +6,50 @@ The following is a set of guidelines for contributing to OpenBB Terminal. These
Use your best judgment, and feel free to propose changes to this document in a pull request.
- [CONTRIBUTING](#contributing)
- [BASIC](#basic)
- [Adding a new command](#adding-a-new-command)
- [Select Feature](#select-feature)
- [Model](#model)
- [View](#view)
- [Controller](#controller)
- [Add API endpint](#add-api-endpoint)
- [Add Documentation](#add-documentation)
- [Open a Pull Request](#open-a-pull-request)
- [Review Process](#review-process)
- [Understand Code Structure](#understand-code-structure)
- [Follow Coding Guidelines](#follow-coding-guidelines)
- [General Code Requirements](#general-code-requirements)
- [File Specific Requirements](#file-specific-requirements)
- [Coding Style](#coding-style)
- [OpenBB Style Guide](#openbb-style-guide)
- [Flags](#flags)
- [Output format](#output-format)
- [Time-related](#time-related)
- [Data selection and manipulation](#data-selection-and-manipulation)
- [Financial instrument characteristics](#financial-instrument-characteristics)
- [Naming Convention](#naming-convention)
- [Docstrings](#docstrings)
- [Linters](#linters)
- [Command names](#command-names)
- [External API Keys](#external-api-keys)
- [Creating API key](#creating-api-key)
- [Setting and checking API key](#setting-and-checking-api-key)
- [ADVANCED](#advanced)
- [Important functions and classes](#important-functions-and-classes)
- [Base controller class](#base-controller-class)
- [Default Data Sources](#default-data-sources)
- [Export Data](#export-data)
- [Queue and pipeline](#queue-and-pipeline)
- [Auto Completer](#auto-completer)
- [Logging](#logging)
- [Internationalization](#internationalization)
- [Write Code and Commit](#write-code-and-commit)
- [Pre Commit Hooks](#pre-commit-hooks)
- [Coding](#coding)
- [Git Process](#git-process)
- [Add a Test](#add-a-test)
- [Pytest](#pytest)
- [Coverage](#coverage)
- [VCR](#vcr)
- [BASIC](#basic)
- [Adding a new command](#adding-a-new-command)
- [Select Feature](#select-feature)
- [Model](#model)
- [View](#view)
- [Controller](#controller)
- [Add API endpoint](#add-api-endpoint)
- [Add Documentation](#add-documentation)
- [Open a Pull Request](#open-a-pull-request)
- [Review Process](#review-process)
- [Understand Code Structure](#understand-code-structure)
- [Backend](#backend)
- [Frontend](#frontend)
- [Follow Coding Guidelines](#follow-coding-guidelines)
- [General Code Requirements](#general-code-requirements)
- [File Specific Requirements](#file-specific-requirements)
- [Coding Style](#coding-style)
- [OpenBB Style Guide](#openbb-style-guide)
- [Flags](#flags)
- [Output format](#output-format)
- [Time-related](#time-related)
- [Data selection and manipulation](#data-selection-and-manipulation)
- [Financial instrument characteristics](#financial-instrument-characteristics)
- [Naming Convention](#naming-convention)
- [Docstrings](#docstrings)
- [Linters](#linters)
- [Command names](#command-names)
- [External API Keys](#external-api-keys)
- [Creating API key](#creating-api-key)
- [Setting and checking API key](#setting-and-checking-api-key)
- [ADVANCED](#advanced)
- [Important functions and classes](#important-functions-and-classes)
- [Base controller class](#base-controller-class)
- [Default Data Sources](#default-data-sources)
- [Export Data](#export-data)
- [Queue and pipeline](#queue-and-pipeline)
- [Auto Completer](#auto-completer)
- [Logging](#logging)
- [Internationalization](#internationalization)
- [Write Code and Commit](#write-code-and-commit)
- [Pre Commit Hooks](#pre-commit-hooks)
- [Coding](#coding)
- [Git Process](#git-process)
- [Add a Test](#add-a-test)
# BASIC
@@ -1137,23 +1136,36 @@ One of the first steps once adding a new data source that requires an API key is
The following code allows to check the validity of the IEX Cloud API key.
```python
def check_iex_key(self, show_output: bool = False) -> None:
"""Check IEX Cloud key"""
self.cfg_dict["IEXCLOUD"] = "iex"
def check_iex_key(show_output: bool = False) -> str:
"""Check IEX Cloud key
Parameters
----------
show_output: bool
Display status string or not.
Returns
-------
status: str
"""
if cfg.API_IEX_TOKEN == "REPLACE_ME": # nosec
logger.info("IEX Cloud key not defined")
self.key_dict["IEXCLOUD"] = "not defined"
status = KeyStatus.NOT_DEFINED
else:
try:
pyEX.Client(api_token=cfg.API_IEX_TOKEN, version="v1")
pyEX.Client(api_token=cfg.API_IEX_TOKEN, version="v1").quote(symbol="AAPL")
logger.info("IEX Cloud key defined, test passed")
self.key_dict["IEXCLOUD"] = "defined, test passed"
except PyEXception:
logger.exception("IEX Cloud key defined, test failed")
self.key_dict["IEXCLOUD"] = "defined, test failed"
status = KeyStatus.DEFINED_TEST_PASSED
except Exception as _: # noqa: F841
logger.warning("IEX Cloud key defined, test failed")
status = KeyStatus.DEFINED_TEST_FAILED
if show_output:
console.print(self.key_dict["IEXCLOUD"] + "\n")
console.print(status.colorize() + "\n")
return status
```
Note that there are usually 3 states:
@@ -1190,10 +1202,9 @@ def call_iex(self, other_args: List[str]):
other_args.insert(0, "-k")
ns_parser = parse_simple_args(parser, other_args)
if ns_parser:
os.environ["OPENBB_API_IEX_KEY"] = ns_parser.key
dotenv.set_key(self.env_file, "OPENBB_API_IEX_KEY", ns_parser.key)
cfg.API_IEX_TOKEN = ns_parser.key
self.check_iex_key(show_output=True)
self.status_dict["iex"] = keys_model.set_iex_key(
key=ns_parser.key, persist=True, show_output=True
)
```
# ADVANCED

View File

@@ -50,14 +50,14 @@ settings = {
"OANDA_ACCOUNT_TYPE": 'OANDA_ACCOUNT_TYPE = os.getenv("OPENBB_OANDA_ACCOUNT_TYPE") or "practice"',
"OANDA_ACCOUNT": 'OANDA_ACCOUNT = os.getenv("OPENBB_OANDA_ACCOUNT") or "REPLACE_ME"',
"OANDA_TOKEN": 'OANDA_TOKEN = os.getenv("OPENBB_OANDA_TOKEN") or "REPLACE_ME"',
"TRADIER_TOKEN": 'TRADIER_TOKEN = os.getenv("OPENBB_API_TRADIER_TOKEN") or "REPLACE_ME"',
"API_TRADIER_TOKEN": 'API_TRADIER_TOKEN = os.getenv("OPENBB_API_TRADIER_TOKEN") or "REPLACE_ME"',
"WEBDRIVER_TO_USE": 'WEBDRIVER_TO_USE = "chrome"',
"PATH_TO_SELENIUM_DRIVER": 'PATH_TO_SELENIUM_DRIVER = None # Replace with "PATH"',
"API_CMC_KEY": 'API_CMC_KEY = os.getenv("OPENBB_API_CMC_KEY") or "REPLACE_ME"',
"API_BINANCE_KEY": 'API_BINANCE_KEY = os.getenv("OPENBB_API_BINANCE_KEY") or "REPLACE_ME"',
"API_BINANCE_SECRET": 'API_BINANCE_SECRET = os.getenv("OPENBB_API_BINANCE_SECRET") or "REPLACE_ME"',
"API_FINNHUB_KEY": 'API_FINNHUB_KEY = os.getenv("OPENBB_API_FINNHUB_KEY") or "REPLACE_ME"',
"API_IEX_TOKEN": 'API_IEX_TOKEN = os.getenv("OPENBB_API_IEX_KEY") or "REPLACE_ME"',
"API_IEX_TOKEN": 'API_IEX_TOKEN = os.getenv("OPENBB_API_IEX_TOKEN") or "REPLACE_ME"',
"API_SENTIMENTINVESTOR_TOKEN": 'API_SENTIMENTINVESTOR_TOKEN = os.getenv("OPENBB_API_SENTIMENTINVESTOR_TOKEN") or "REPLACE_ME"', # noqa
"API_COINBASE_KEY": 'API_COINBASE_KEY = os.getenv("OPENBB_API_COINBASE_KEY") or "REPLACE_ME"',
"API_COINBASE_SECRET": 'API_COINBASE_SECRET = os.getenv("OPENBB_API_COINBASE_SECRET") or "REPLACE_ME"',

4
i18n/en.yml vendored
View File

@@ -16,11 +16,13 @@ en:
_configure_: Configure your own terminal
_main_menu_: Main menu
keys/_keys_: This menu allows you to set your own API keys. Type 'about' for more information
keys/mykeys: get your defined keys
keys/_status_: Status
defined, test passed: defined, test passed
defined, test failed: defined, test failed
not defined: not defined
defined, not tested: defined, not tested
defined, test unsuccessful: defined, test unsuccessful
defined, test inconclusive: defined, test inconclusive
sources/_info_: Get and set default data sources
sources/get: get available data sources associated with command
sources/set: set default data source for a command

View File

@@ -386,7 +386,7 @@
"default": "REPLACE_ME",
"value": ""
},
"OPENBB_API_IEX_KEY":
"OPENBB_API_IEX_TOKEN":
{
"type": "string",
"form": "password",

View File

@@ -521,8 +521,11 @@ functions = {
"model": "openbb_terminal.cryptocurrency.due_diligence.glassnode_model.get_active_addresses",
"view": "openbb_terminal.cryptocurrency.due_diligence.glassnode_view.display_active_addresses",
},
"crypto.dd.btcrb": {
"crypto.dd.close": {
"model": "openbb_terminal.cryptocurrency.due_diligence.glassnode_model.get_close_price",
},
"crypto.dd.btcrb": {
"model": "openbb_terminal.cryptocurrency.due_diligence.glassnode_model.get_btc_rainbow",
"view": "openbb_terminal.cryptocurrency.due_diligence.glassnode_view.display_btc_rainbow",
},
"crypto.dd.eb": {
@@ -1884,6 +1887,36 @@ functions = {
"etf.candle": {"model": "openbb_terminal.stocks.stocks_helper.display_candle"},
"forex.candle": {"model": "openbb_terminal.forex.forex_helper.display_candle"},
"forex.load": {"model": "openbb_terminal.forex.forex_helper.load"},
"keys.av": {"model": "openbb_terminal.keys_model.set_av_key"},
"keys.fmp": {"model": "openbb_terminal.keys_model.set_fmp_key"},
"keys.quandl": {"model": "openbb_terminal.keys_model.set_quandl_key"},
"keys.polygon": {"model": "openbb_terminal.keys_model.set_polygon_key"},
"keys.fred": {"model": "openbb_terminal.keys_model.set_fred_key"},
"keys.news": {"model": "openbb_terminal.keys_model.set_news_key"},
"keys.tradier": {"model": "openbb_terminal.keys_model.set_tradier_key"},
"keys.cmc": {"model": "openbb_terminal.keys_model.set_cmc_key"},
"keys.finnhub": {"model": "openbb_terminal.keys_model.set_finnhub_key"},
"keys.iex": {"model": "openbb_terminal.keys_model.set_iex_key"},
"keys.reddit": {"model": "openbb_terminal.keys_model.set_reddit_key"},
"keys.twitter": {"model": "openbb_terminal.keys_model.set_twitter_key"},
"keys.rh": {"model": "openbb_terminal.keys_model.set_rh_key"},
"keys.degiro": {"model": "openbb_terminal.keys_model.set_degiro_key"},
"keys.oanda": {"model": "openbb_terminal.keys_model.set_oanda_key"},
"keys.binance": {"model": "openbb_terminal.keys_model.set_binance_key"},
"keys.bitquery": {"model": "openbb_terminal.keys_model.set_bitquery_key"},
"keys.si": {"model": "openbb_terminal.keys_model.set_si_key"},
"keys.coinbase": {"model": "openbb_terminal.keys_model.set_coinbase_key"},
"keys.walert": {"model": "openbb_terminal.keys_model.set_walert_key"},
"keys.glassnode": {"model": "openbb_terminal.keys_model.set_glassnode_key"},
"keys.coinglass": {"model": "openbb_terminal.keys_model.set_coinglass_key"},
"keys.cpanic": {"model": "openbb_terminal.keys_model.set_cpanic_key"},
"keys.ethplorer": {"model": "openbb_terminal.keys_model.set_ethplorer_key"},
"keys.smartstake": {"model": "openbb_terminal.keys_model.set_smartstake_key"},
"keys.github": {"model": "openbb_terminal.keys_model.set_github_key"},
"keys.messari": {"model": "openbb_terminal.keys_model.set_messari_key"},
"keys.eodhd": {"model": "openbb_terminal.keys_model.set_eodhd_key"},
"keys.santiment": {"model": "openbb_terminal.keys_model.set_santiment_key"},
"keys.mykeys": {"model": "openbb_terminal.keys_model.get_keys"},
}
@@ -1941,7 +1974,7 @@ def change_docstring(api_callable, model: Callable, view=None):
index = view.__doc__.find("Parameters")
all_parameters = (
"\nAPI function, use the chart kwarg for getting the view model and it's plot. "
"See every parmater below:\n\n\t"
"See every parmater below:\n\n "
+ view.__doc__[index:]
+ """chart: bool
If the view and its chart shall be used"""

View File

@@ -106,7 +106,7 @@ OANDA_ACCOUNT = os.getenv("OPENBB_OANDA_ACCOUNT") or "REPLACE_ME"
OANDA_TOKEN = os.getenv("OPENBB_OANDA_TOKEN") or "REPLACE_ME"
# https://tradier.com/products/market-data-api
TRADIER_TOKEN = os.getenv("OPENBB_API_TRADIER_TOKEN") or "REPLACE_ME"
API_TRADIER_TOKEN = os.getenv("OPENBB_API_TRADIER_TOKEN") or "REPLACE_ME"
# Selenium Webbrowser drivers can be found at https://selenium-python.readthedocs.io/installation.html
WEBDRIVER_TO_USE = "chrome"
@@ -123,7 +123,7 @@ API_BINANCE_SECRET = os.getenv("OPENBB_API_BINANCE_SECRET") or "REPLACE_ME"
API_FINNHUB_KEY = os.getenv("OPENBB_API_FINNHUB_KEY") or "REPLACE_ME"
# https://iexcloud.io
API_IEX_TOKEN = os.getenv("OPENBB_API_IEX_KEY") or "REPLACE_ME"
API_IEX_TOKEN = os.getenv("OPENBB_API_IEX_TOKEN") or "REPLACE_ME"
# https://www.sentimentinvestor.com
API_SENTIMENTINVESTOR_TOKEN = (
@@ -170,4 +170,4 @@ API_GITHUB_KEY = os.getenv("OPENBB_API_GITHUB_KEY") or "REPLACE_ME"
API_SANTIMENT_KEY = os.getenv("OPENBB_API_SANTIMENT_KEY") or "REPLACE_ME"
# https://eodhistoricaldata.com/r/?ref=869U7F4J
API_EODHD_TOKEN = os.getenv("OPENBB_API_EODHD_KEY") or "REPLACE_ME"
API_EODHD_KEY = os.getenv("OPENBB_API_EODHD_KEY") or "REPLACE_ME"

View File

@@ -550,3 +550,28 @@ def get_exchange_net_position_change(
console.print(r.text)
return df
@log_start_end(log=logger)
def get_btc_rainbow(
start_date: str = "2010-01-01",
end_date: str = datetime.now().strftime("%Y-%m-%d"),
):
"""Get bitcoin price data
[Price data from source: https://glassnode.com]
[Inspired by: https://blockchaincenter.net]
Parameters
----------
start_date : int
Initial date timestamp. Default is initial BTC timestamp: 1_325_376_000
end_date : int
Final date timestamp. Default is current BTC timestamp
"""
dt_start_date = int(datetime.strptime(start_date, "%Y-%m-%d").timestamp())
dt_end_date = int(datetime.strptime(end_date, "%Y-%m-%d").timestamp())
df_data = get_close_price("BTC", dt_start_date, dt_end_date)
return df_data

View File

@@ -16,7 +16,7 @@ from openbb_terminal.decorators import check_api_key
from openbb_terminal import config_plot as cfgPlot
from openbb_terminal.cryptocurrency.due_diligence.glassnode_model import (
get_active_addresses,
get_close_price,
get_btc_rainbow,
get_exchange_balances,
get_exchange_net_position_change,
get_hashrate,
@@ -35,8 +35,8 @@ logger = logging.getLogger(__name__)
@log_start_end(log=logger)
@check_api_key(["API_GLASSNODE_KEY"])
def display_btc_rainbow(
start_date: int = int(datetime(2010, 1, 1).timestamp()),
end_date: int = int(datetime.now().timestamp()),
start_date: str = "2010-01-01",
end_date: str = datetime.now().strftime("%Y-%m-%d"),
export: str = "",
external_axes: Optional[List[plt.Axes]] = None,
):
@@ -55,7 +55,8 @@ def display_btc_rainbow(
external_axes : Optional[List[plt.Axes]], optional
External axes (1 axis is expected in the list), by default None
"""
df_data = get_close_price("BTC", start_date, end_date)
df_data = get_btc_rainbow(start_date, end_date)
if df_data.empty:
return
@@ -69,7 +70,7 @@ def display_btc_rainbow(
return
d0 = datetime.strptime("2012-01-01", "%Y-%m-%d")
dend = datetime.fromtimestamp(end_date)
dend = datetime.strptime(end_date, "%Y-%m-%d")
x = range((df_data.index[0] - d0).days, (dend - d0).days + 1)

View File

@@ -315,9 +315,12 @@ class OverviewController(BaseController):
parser, other_args, EXPORT_BOTH_RAW_DATA_AND_FIGURES
)
if ns_parser:
start_date = ns_parser.since.strftime("%Y-%m-%d")
end_date = ns_parser.until.strftime("%Y-%m-%d")
display_btc_rainbow(
start_date=int(ns_parser.since.timestamp()),
end_date=int(ns_parser.until.timestamp()),
start_date=start_date,
end_date=end_date,
export=ns_parser.export,
)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,45 @@
"""Keys view"""
__docformat__ = "numpy"
import logging
import os
from openbb_terminal import keys_model
from openbb_terminal.decorators import log_start_end
from openbb_terminal.helper_funcs import export_data, print_rich_table
from openbb_terminal.rich_config import console
logger = logging.getLogger(__name__)
@log_start_end(log=logger)
def display_keys(show: bool = False, export: str = ""):
"""Display currently set API keys.
Parameters
----------
show: bool
Flag to choose whether to show actual keys or not.
By default, False.
export : str
Export dataframe data to csv,json,xlsx file
"""
df = keys_model.get_keys(show=show)
if df.empty:
console.print("No keys available\n")
return
print_rich_table(
df,
show_index=True,
index_name="API",
title="Current keys",
)
export_data(
export,
os.path.dirname(os.path.abspath(__file__)),
"mykeys",
df,
)

View File

@@ -41,7 +41,7 @@ def get_financials(
request_url = (
"https://eodhistoricaldata.com/api/fundamentals/"
f"{symbol}?"
f"api_token={cfg.API_EODHD_TOKEN}"
f"api_token={cfg.API_EODHD_KEY}"
f"&filter=Financials::{statement}"
f"::{['yearly', 'quarterly'][quarterly]}"
)

View File

@@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
@log_start_end(log=logger)
@check_api_key(["API_EODHD_TOKEN"])
@check_api_key(["API_EODHD_KEY"])
def display_fundamentals(
symbol: str,
statement: str,

View File

@@ -10,7 +10,7 @@ import pandas as pd
from prompt_toolkit.completion import NestedCompleter
from openbb_terminal import feature_flags as obbff
from openbb_terminal.config_terminal import TRADIER_TOKEN
from openbb_terminal.config_terminal import API_TRADIER_TOKEN
from openbb_terminal.decorators import log_start_end
from openbb_terminal.helper_funcs import (
EXPORT_BOTH_RAW_DATA_AND_FIGURES,
@@ -121,7 +121,7 @@ class OptionsController(BaseController):
self.source = ""
if ticker:
if TRADIER_TOKEN == "REPLACE_ME": # nosec
if API_TRADIER_TOKEN == "REPLACE_ME": # nosec
console.print("Loaded expiry dates from Yahoo Finance")
self.expiry_dates = yfinance_model.option_expirations(self.ticker)
else:
@@ -696,7 +696,7 @@ class OptionsController(BaseController):
ns_parser.export,
)
elif TRADIER_TOKEN != "REPLACE_ME": # nosec
elif API_TRADIER_TOKEN != "REPLACE_ME": # nosec
tradier_view.display_historical(
symbol=self.ticker,
expiry=self.selected_date,
@@ -766,7 +766,7 @@ class OptionsController(BaseController):
if self.ticker:
if self.selected_date:
if ns_parser.source == "Tradier" or self.source == "Tradier":
if TRADIER_TOKEN != "REPLACE_ME": # nosec
if API_TRADIER_TOKEN != "REPLACE_ME": # nosec
tradier_view.display_chains(
symbol=self.ticker,
expiry=self.selected_date,
@@ -852,7 +852,7 @@ class OptionsController(BaseController):
if self.selected_date:
if (
ns_parser.source == "Tradier"
and TRADIER_TOKEN != "REPLACE_ME" # nosec
and API_TRADIER_TOKEN != "REPLACE_ME" # nosec
) or self.source == "Tradier":
tradier_view.plot_vol(
symbol=self.ticker,
@@ -930,7 +930,7 @@ class OptionsController(BaseController):
if self.selected_date:
if (
ns_parser.source == "Tradier"
and TRADIER_TOKEN != "REPLACE_ME" # nosec
and API_TRADIER_TOKEN != "REPLACE_ME" # nosec
) or self.source == "Tradier":
tradier_view.plot_volume_open_interest(
symbol=self.ticker,
@@ -1018,7 +1018,7 @@ class OptionsController(BaseController):
if self.selected_date:
if (
ns_parser.source == "Tradier"
and TRADIER_TOKEN != "REPLACE_ME" # nosec
and API_TRADIER_TOKEN != "REPLACE_ME" # nosec
) or self.source == "Tradier":
tradier_view.plot_oi(
symbol=self.ticker,

View File

@@ -90,7 +90,7 @@ def get_historical_options(
"https://sandbox.tradier.com/v1/markets/history",
params={"symbol": {symbol}, "interval": "daily"},
headers={
"Authorization": f"Bearer {cfg.TRADIER_TOKEN}",
"Authorization": f"Bearer {cfg.API_TRADIER_TOKEN}",
"Accept": "application/json",
},
)
@@ -131,7 +131,7 @@ def option_expirations(symbol: str) -> List[str]:
"https://sandbox.tradier.com/v1/markets/options/expirations",
params={"symbol": symbol, "includeAllRoots": "true", "strikes": "false"},
headers={
"Authorization": f"Bearer {cfg.TRADIER_TOKEN}",
"Authorization": f"Bearer {cfg.API_TRADIER_TOKEN}",
"Accept": "application/json",
},
)
@@ -167,7 +167,7 @@ def get_option_chains(symbol: str, expiry: str) -> pd.DataFrame:
params = {"symbol": symbol, "expiration": expiry, "greeks": "true"}
headers = {
"Authorization": f"Bearer {cfg.TRADIER_TOKEN}",
"Authorization": f"Bearer {cfg.API_TRADIER_TOKEN}",
"Accept": "application/json",
}
@@ -177,7 +177,7 @@ def get_option_chains(symbol: str, expiry: str) -> pd.DataFrame:
headers=headers,
)
if response.status_code != 200:
console.print("Error in request. Check TRADIER_TOKEN\n")
console.print("Error in request. Check API_TRADIER_TOKEN\n")
return pd.DataFrame()
chains = process_chains(response)
@@ -239,7 +239,7 @@ def last_price(symbol: str):
"https://sandbox.tradier.com/v1/markets/quotes",
params={"symbols": symbol, "includeAllRoots": "true", "strikes": "false"},
headers={
"Authorization": f"Bearer {cfg.TRADIER_TOKEN}",
"Authorization": f"Bearer {cfg.API_TRADIER_TOKEN}",
"Accept": "application/json",
},
)

View File

@@ -99,7 +99,7 @@ def load_stock_eodhd(
f"{start_date.strftime('%Y-%m-%d')}&"
f"to={end_date.strftime('%Y-%m-%d')}&"
f"period={int_}&"
f"api_token={cfg.API_EODHD_TOKEN}&"
f"api_token={cfg.API_EODHD_KEY}&"
f"fmt=json&"
f"order=d"
)

3
scripts/test_keys_.openbb vendored Normal file
View File

@@ -0,0 +1,3 @@
keys
mykeys
exit

View File

@@ -79,7 +79,7 @@ def test_bad_parameters():
if all_overlaps:
for overlaps, func_name, func_path, overlap_str in all_overlaps:
final_str += (
f"Forbidden parameter{'s' if len(overlaps) > 1 else ''} in funcition"
f"Forbidden parameter{'s' if len(overlaps) > 1 else ''} in function"
f" '{func_name}' at {func_path}. Replace the following: {overlap_str}\n\n"
)

0
tests/openbb_terminal/.tmp vendored Normal file
View File

View File

@@ -0,0 +1,87 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AAPL&interval=15min&outputsize=compact&apikey=1234&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type:
- application/json
Date:
- Sun, 02 Oct 2022 21:29:49 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
Vary:
- Cookie
Via:
- 1.1 vegur
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,87 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AAPL&interval=15min&outputsize=compact&apikey=1234&datatype=json
response:
body:
string: !!binary |
H4sIAAAAAAAAA7yaS28bRxCE7/kVC54SQJn0Yx49uhlJDgYcJIiSS26MvY4JSKRA0Q4cw/89WBpy
RGrFKsBEAJ2o0YrfVFd3T89++GoYhmHx07hbDj8sd8vF5fBh/9H+Y03D8/XrzfZmuVtt1ovLYfF8
vdsuXy3fD19ruVmtvxk2t+P6Yniz+uvNxXC9+ftieHm9uRuH2+3q5Xg3LNevhneb67c34+Liv8da
Gq7e3/y5uZ6e+OzZLy8e/tLT8GJ5txt+HV9vx7s346tpkYnZt9K/dRlMLmX6efg3efqeu3H7brl/
5P6rPfx9ScPPb3e3b3fD1eqfcVry/ebmdvly93BRTcNvq5tx+GOz3i/5/eq7H5d3u3G7XuwXffy0
drFfdDVuV+Pd/S4c7trcl3244H5rp63bf11vqdgB0f02Tft6v6TOLPE0bfrnh8jjFTl9UuTUPyrp
XqTLYVHEiy0+L/h4MQum/TIXBqwSYAWCGQHmAExbRGXAnFOsY7B+DsUqAvMchQJTTjHBYAHBglAs
kGJdRRkwzmNzcXYE1uQsYB0pploJxYL0WMOKtYbA5nbnUSgixUzEggH7Pz1GKFahYqZhDBjnsblk
dQwmZ8mKULGiQilG1rFyBrDMeExRHasiGYM11mNYsZYRmCkB1lBWDCuVImNMFklR9oikCrMHQTa3
P4dkItE6Q8a4LJI4JDOgWSSBLoukqKmKCKsMmJxLMoMui4LBBElmJioEWaV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WK4BtXef7x2D79m7F24uawQhMlVkhnSY
a0eXkSNmSNffUPr7H5YSao5tLwKN3c9K63bU5O9o8j9bQeszZw6BdtkFTfE9AYTDob+j5Gf21BBo
8E6tNS4jz7lhANpRJv81Ju3id2jUe3a0Lkk5Bh3IUOPtZefZe3Z6nEBjfa38CgKB5JpmVntXI2gs
12yAIiRdVEhwmCn9QQ2LyX+L/+OTqr9+/wEAAP//AwBh5ZvGgVYAAA==
headers:
Allow:
- GET, HEAD, OPTIONS
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754089271a1d03de-LIS
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 02 Oct 2022 21:29:50 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
Vary:
- Cookie
Via:
- 1.1 vegur
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: OK
version: 1

View File

@@ -11,7 +11,7 @@ interactions:
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cryptopanic.com/api/v1/posts/?auth_token=1234&kind=all
uri: https://cryptopanic.com/api/v1/posts/?auth_token=1234
response:
body:
string: '{"status":"Incomplete","info":"Token not found"}'
@@ -23,7 +23,7 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 22 Sep 2022 07:06:53 GMT
- Tue, 04 Oct 2022 10:22:30 GMT
Server:
- nginx/1.19.3
Strict-Transport-Security:

View File

@@ -11,7 +11,7 @@ interactions:
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cryptopanic.com/api/v1/posts/?auth_token=1234&kind=all
uri: https://cryptopanic.com/api/v1/posts/?auth_token=1234
response:
body:
string: '{"status":"Incomplete","info":"Token not found"}'
@@ -23,7 +23,7 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 22 Sep 2022 07:06:53 GMT
- Tue, 04 Oct 2022 10:22:31 GMT
Server:
- nginx/1.19.3
Strict-Transport-Security:

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cloud.iexapis.com/v1/stock/AAPL/quote?token=1234
response:
body:
string: The API key provided is not valid.
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Request-Source
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Date:
- Tue, 04 Oct 2022 10:22:23 GMT
Server:
- nginx
Set-Cookie:
- ctoken=15bbf3161b68483fa51c4fa4837aae04; Max-Age=43200; Path=/; Expires=Tue,
04 Oct 2022 22:22:23 GMT
Strict-Transport-Security:
- max-age=15768000
Transfer-Encoding:
- chunked
status:
code: 403
message: The API key provided is not valid.
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cloud.iexapis.com/v1/stock/AAPL/quote?token=1234
response:
body:
string: The API key provided is not valid.
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Request-Source
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Date:
- Tue, 04 Oct 2022 10:22:23 GMT
Server:
- nginx
Set-Cookie:
- ctoken=23f725d8baeb433aa0abdd164cd7a4dc; Max-Age=43200; Path=/; Expires=Tue,
04 Oct 2022 22:22:23 GMT
Strict-Transport-Security:
- max-age=15768000
Transfer-Encoding:
- chunked
status:
code: 403
message: The API key provided is not valid.
version: 1

View File

@@ -0,0 +1,87 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AAPL&interval=15min&outputsize=compact&apikey=test_key&datatype=json
response:
body:
string: !!binary |
H4sIAAAAAAAAA6yVT2vcMBDF7/kUg08tOKqsP5a8t9D2EEhIyaaX3tRdpWtYW4utTUhCvnuRFycO
6zJTWPBJehrmN09PfjkDAMiufXTwzUWXLeBlWBqWCwaX7X3oGhfr0GYLyC7b2Lm1e4JPhW7q9jOE
nW9z2NR/Njlsw2MOq23oPey6euV7cO0aHsJ23/gsfy8rGCyfmt9hmypeXPy4mm5KBleuj3Dr7zvf
b/w6iQQX4rzg51yC4AuevukZlfqMvntwQ8mhtem+ZnCzj7t9hGX97JPka2h2bhWnopLBXd14+BXa
QfJz+eW766Pv2mwQvR602SBa+q72/TiFj1Oba3YqGEebRje0qwSz1QeicUxprgeJZJwfSyRLQx+L
mJkiih0cGTWVOdZoNpqUREYImb0JXvNZsKJaKI2DzXf932C2JIBpFExqSwGTNMdOAsZP4JgwWmgK
WKEpYFoiYIJZiYFpgYNZgYBZK0lctIipEuXSFcalCFy6xG6isKbCwSwpYoIZ3DCDGqY0AUwhYFKa
QlDAaBEzBr+JGgMrDQ5mOOaYrYyigNEiZgkRU+hrX54iYoWwFC5axEqrLXYTccNmihwZhj32UhUE
LkNMWPmPv/NfAAAA//+8mlmO5DAMQ29kaLd0/4sN8tepcocEOpgLFOqZJrU4P7mi++8OK0dZ317C
gJEOUwxmUDAiEwtlYu0uhoszWG1CsDe4Tgd4F8wznAEjHZYYTN7I+moAtnc2cROLtVhjsH4FDBex
2d0MGecxJjz6v0jWGRoMGGeywHdxYHiEE2CDTBZlOcqgcTbb+ULnYUR+BLqN23YJE/lJGm2IuQVH
fhDRmAmMliNjm0EjR7JUiLaf0XQFM5IJQAtp9woGTd9Rzdb0G61wJ5w29/ahVCO91vlX1c7V/Att
1J9V26rpxAATpNe63/DaJPZaiyLVdCYZNM5rgTusgap5E6o18JqNdVczaJzXZBIuCqBqUli1qM5n
tNQ0oy4k5zVxiGaBErIJ1WR6QF8s3UlsQ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f581203d6-LIS
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:53 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
Vary:
- Cookie
Via:
- 1.1 vegur
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,88 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AAPL&interval=15min&outputsize=compact&apikey=test_key&datatype=json
response:
body:
string: !!binary |
H4sIAAAAAAAAA7yaT28bNxDF7/0UC51awNkOZzjk0Leg7SFAihZ1e+lNtTe1AFsyZDlFGuS7F6vA
qf5s9F4RoYBPEk3sj4/vcTir9191XdfNfhw28+77+WY+u+zebz/afpz67tXyzWp9P98sVsvZZTd7
tdys5zfzd93Xye8Xy2+61cOwvOhuF3/eXnR3q78uuuu71ePQPawX18NjN1/edG9Xd0/3w+zi32m1
767e3f+xuhtnfPny59e7X1rfvZ4/brpfhjfr4fF2uBkHqai+SPJCrFO5lPFv93/y+JybYf12vp1y
+2i733vf/fS0eXjadFeLv4dxyHer+4f59WZ3UOm7Xxf3Q/f7arkd8tvVtz/MHzfDejnbDvrwcexs
O+hqWC+Gx+dV2F+1qYfdHfC8tOPSbR83ax9tj+h5mcZ1/TjEepHjIdaPi/48SZ2YJPcfFXke0+rx
GO+fRRoHVVWbfRrw4WISLLXL7Bhs+qn/M1gUAswhmHkwYMYpdhYwOYNiWl2dAUvOgLkBMO3DEJgr
BgsFYBFGcXEWywVyeUNcmeDygnaiRm0YLCiLaV+xYBUKlp0AywDMrCZlwDiL1Yp3oiOwUjFYFaRY
tJoZMM5iQVgsw7Qv57BY0mC4OIuV8EA7EQs2McmRYCjsLSeCq5IOKw07LEd8ucOKoawPK8KAkQ5L
GEyhYEQmFpSJ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pWgujbCvP+4V6uoGlSfV88FrN3gOh7P6CM9t0uvdbUETRcg+K3W4QuUv0WJn42JpH736sf
0YYYa4Mdso/WENAc0ao7qFacc04FTRuLuZOiXwcsBs+OCAMWOBM5ekdsBU2LteCxmDnoXtsmDFg0
o1m05JBarDUlWo5r8/zHRjIavrL3WJXCvebqbp5h8Ydrvfy2mfQ2pItrvcxzZSto2hoDYRuK8z4l
YbS6/H0/2KUzs+eoraBpawwGT43v9T0b8VvJ+/teDbLa6tgvBYT/Fqr+9fc/AAAA//8DAHqD3fR/
VgAA
headers:
Allow:
- GET, HEAD, OPTIONS
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82627b219504-LIS
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:53 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
Vary:
- Cookie
Via:
- 1.1 vegur
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,88 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AAPL&interval=15min&outputsize=compact&apikey=test_key&datatype=json
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//vJpPbxs3EMXv/RQLnVrA2Q5nOOTQt6DtIUCKFnV76U21N7UAWzJkOUUa
5LsXq8Cp/mz0XhGhgE8STeyPj+9xOKv3X3Vd181+HDbz7vv5Zj677N5vP9p+nPru1fLNan0/3yxW
y9llN3u13KznN/N33dfJ7xfLb7rVw7C86G4Xf95edHervy6667vV49A9rBfXw2M3X950b1d3T/fD
7OLfabXvrt7d/7G6G2d8+fLn17tfWt+9nj9uul+GN+vh8Xa4GQepqL5I8kKsU7mU8W/3f/L4nJth
/Xa+nXL7aLvfe9/99LR5eNp0V4u/h3HId6v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p9j/2/OTlfItDCb3GmnMvf6ccFmgyWNaSsVMjHM2BsT
vXG3QIailpnmYytoJul1eqHRdj3hjsaN9uxVW8hBUpRZWaNgB3R/R7GyWNXS2FAqWzNDQdNkVjif
a3ilCWgffsNL39Z8KMdIijKrZplVJKFx4/b8ht3fU+L26DYFTZMP+2SHtMzvaJyIbB4XP/MQM4Uc
a4qxNue7hvSqjE6UDzs7pAcJUeeI7lLQQhN9B1qtUGM7MhFtTpswzBRevRQ0TaofxZLGTkDzEkTf
2MCNYaE5pCjVB0njtNun3AWtayNaTZiJHEevKaQj2gjavYD2orH1G0n3K1oIsyOBLcE5VkcoaFqs
4X6yMznzPqjwilaC6NsK8/7hXq6gaVJ9XzwWs3eA6Hs/oIz23S691tQRNFyD4rdbhC5S/RYmfjYm
kfvfqx/Rhhhrgx2yj9YQ0BzRqjuoVpxzTgVNG4u5k6JfBywGz44IAxY4Ezl6R2wFTYu14LGYOehe
2yYMWDSjWbTkkFqsNSVajmvz/MdGMhq+svdYlcK95upunmHxh2u9/LaZ9Daki2u9zHNlK2jaGgNh
G4rzPiVhtLr8fT/YpTOz56itoGlrDAZPje/1PRvxW8n7+14Nstrq2C8FhP8Wqv719z8AAAD//wMA
eoPd9H9WAAA=
headers:
Allow:
- GET, HEAD, OPTIONS
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e8265a942950c-LIS
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:54 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
Vary:
- Cookie
Via:
- 1.1 vegur
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,134 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/api/v3/ping
response:
body:
string: '{}'
headers:
Access-Control-Allow-Methods:
- GET, HEAD, OPTIONS
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '2'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:10 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 79a6afa6a11c254cebe52d84950e0d76.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- nCHRyWu55jLvRtsDNLy9HqcXbzCQ69HdLXTV-_XLrGeW_--TSpK3tA==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Miss from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
x-mbx-used-weight:
- '1'
x-mbx-used-weight-1m:
- '1'
x-mbx-uuid:
- 72fbf1bb-e2f9-4cb5-ac9d-cdb0fd440707
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/sapi/v1/account/apiRestrictions?timestamp=1664892728004&signature=23890d508f8c897a37371a64edcee7240b865da874b48dd4d61aa34ebb8ffba0
response:
body:
string: '{"code":-2008,"msg":"Invalid Api-Key ID."}'
headers:
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '42'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:10 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 79a6afa6a11c254cebe52d84950e0d76.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- 4w0_iUeGNkUFn6Q9lv-bHI3fEAgmt6XNg9P0bYZG4NquieFQg0gYwA==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
status:
code: 400
message: ''
version: 1

View File

@@ -0,0 +1,134 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/api/v3/ping
response:
body:
string: '{}'
headers:
Access-Control-Allow-Methods:
- GET, HEAD, OPTIONS
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '2'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:11 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 590ad044183138a492a9344ba0b0a7ac.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- SQrvV5aih38a1Tp4mw-itGBCnXBosr3QhtUNsimJdrGsQ2JwJldSQw==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Miss from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
x-mbx-used-weight:
- '2'
x-mbx-used-weight-1m:
- '2'
x-mbx-uuid:
- 0785405a-361e-4002-886b-66ec81c14013
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/sapi/v1/account/apiRestrictions?timestamp=1664892728598&signature=887e290954eee47e9749f93076164023ba4bdd8f2000c2788b882f9f261ade60
response:
body:
string: '{"code":-2008,"msg":"Invalid Api-Key ID."}'
headers:
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '42'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:11 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 590ad044183138a492a9344ba0b0a7ac.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- 0AM6Rc4yMFaN-mgbgSYAEBZPNoIvrn-Dm4k8n-URbno389i-av16Vw==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
status:
code: 400
message: ''
version: 1

View File

@@ -0,0 +1,134 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/api/v3/ping
response:
body:
string: '{}'
headers:
Access-Control-Allow-Methods:
- GET, HEAD, OPTIONS
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '2'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:11 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 96d159daae033b1bb1f9f14f4fc55aae.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- 9DQPbCtC_91_5aPUvDoZc_YwPk6pjEFVjlx5GS7peC0Z7VFYlmGC7w==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Miss from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
x-mbx-used-weight:
- '3'
x-mbx-used-weight-1m:
- '3'
x-mbx-uuid:
- db85ea6c-d855-4c94-a1ad-b76c4f1e3759
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36
X-MBX-APIKEY:
- test_key
method: GET
uri: https://api.binance.com/sapi/v1/account/apiRestrictions?timestamp=1664892729222&signature=1996f1d370189ad66ac44603fe80ea1abaa30bc5bf162ee9b85ae984fffbb784
response:
body:
string: '{"code":-2008,"msg":"Invalid Api-Key ID."}'
headers:
Cache-Control:
- no-cache, no-store, must-revalidate
Connection:
- keep-alive
Content-Length:
- '42'
Content-Security-Policy:
- default-src 'self'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:11 GMT
Expires:
- '0'
Pragma:
- no-cache
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 96d159daae033b1bb1f9f14f4fc55aae.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- vURjjoVoqeFj3Rbn2eg808K2k6l4QBOArL6u_VyKLOh2bP12vKkUFA==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Security-Policy:
- default-src 'self'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-WebKit-CSP:
- default-src 'self'
X-Xss-Protection:
- 1; mode=block
status:
code: 400
message: ''
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: '{"query": "\n {\n ethereum {\n dexTrades(options:
{limit: 10, desc: \"count\"}) {\n count\n protocol\n }}}\n "}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '168'
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
x-api-key:
- test_key
method: POST
uri: https://graphql.bitquery.io/
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:07 GMT
Server:
- nginx
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: '{"query": "\n {\n ethereum {\n dexTrades(options:
{limit: 10, desc: \"count\"}) {\n count\n protocol\n }}}\n "}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '168'
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
x-api-key:
- test_key
method: POST
uri: https://graphql.bitquery.io/
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:08 GMT
Server:
- nginx
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: '{"query": "\n {\n ethereum {\n dexTrades(options:
{limit: 10, desc: \"count\"}) {\n count\n protocol\n }}}\n "}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '168'
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
x-api-key:
- test_key
method: POST
uri: https://graphql.bitquery.io/
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:08 GMT
Server:
- nginx
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,66 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- deflate, gzip
Accepts:
- application/json
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
X-CMC_PRO_API_KEY:
- test_key
method: GET
uri: https://pro-api.coinmarketcap.com/v1/cryptocurrency/map
response:
body:
string: "{\n \"status\": {\n \"timestamp\": \"2022-10-04T14:12:02.906Z\",\n
\ \"error_code\": 1001,\n \"error_message\": \"This API Key is
invalid.\",\n \"elapsed\": 0,\n \"credit_count\": 0\n }\n}"
headers:
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '203'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:02 GMT
Referrer-Policy:
- origin-when-cross-origin
Server:
- Tengine
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Vary:
- origin
Via:
- 1.1 60d5d039ddd1dfa7f8fb545bcd965e3a.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- qbJ1ukKUhoed9l7Ps7uv6M5c3bJzFJVF0ovpb_7Kt6Bqt6dByxF5Hg==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
- nosniff
X-Envoy-Decorator-Operation:
- coinmarketcap-pro-apis.cmc-api.svc.cluster.local:80/*
X-Envoy-Upstream-Service-Time:
- '3'
X-Frame-Options:
- SAMEORIGIN
X-Traefik-Route:
- coinmarketcap-pro-apis
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,66 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- deflate, gzip
Accepts:
- application/json
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
X-CMC_PRO_API_KEY:
- test_key
method: GET
uri: https://pro-api.coinmarketcap.com/v1/cryptocurrency/map
response:
body:
string: "{\n \"status\": {\n \"timestamp\": \"2022-10-04T14:12:03.105Z\",\n
\ \"error_code\": 1001,\n \"error_message\": \"This API Key is
invalid.\",\n \"elapsed\": 0,\n \"credit_count\": 0\n }\n}"
headers:
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '203'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:03 GMT
Referrer-Policy:
- origin-when-cross-origin
Server:
- Tengine
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Vary:
- origin
Via:
- 1.1 6cda321fa7ffaa5f463d18f171e22d8e.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- rmKrPjs7NUkW7LeBxi63gOUCMEym8roHw6VhVdY0d7pUnxZ0MSMfCg==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
- nosniff
X-Envoy-Decorator-Operation:
- coinmarketcap-pro-apis.cmc-api.svc.cluster.local:80/*
X-Envoy-Upstream-Service-Time:
- '2'
X-Frame-Options:
- SAMEORIGIN
X-Traefik-Route:
- coinmarketcap-pro-apis
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,66 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- deflate, gzip
Accepts:
- application/json
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
X-CMC_PRO_API_KEY:
- test_key
method: GET
uri: https://pro-api.coinmarketcap.com/v1/cryptocurrency/map
response:
body:
string: "{\n \"status\": {\n \"timestamp\": \"2022-10-04T14:12:03.295Z\",\n
\ \"error_code\": 1001,\n \"error_message\": \"This API Key is
invalid.\",\n \"elapsed\": 0,\n \"credit_count\": 0\n }\n}"
headers:
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '203'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:03 GMT
Referrer-Policy:
- origin-when-cross-origin
Server:
- Tengine
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Vary:
- origin
Via:
- 1.1 fd9cb9e48122da1a05d6c3c1a873d502.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- xvL6RO0nJkIRHLGiTLux8t3UqXXPge1-4DuqzZ5PtdBSOQX_vdpudw==
X-Amz-Cf-Pop:
- LIS50-C1
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
- nosniff
X-Envoy-Decorator-Operation:
- coinmarketcap-pro-apis.cmc-api.svc.cluster.local:80/*
X-Envoy-Upstream-Service-Time:
- '2'
X-Frame-Options:
- SAMEORIGIN
X-Traefik-Route:
- coinmarketcap-pro-apis
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,74 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
CB-ACCESS-KEY:
- test_key
CB-ACCESS-PASSPHRASE:
- test_passphrase
CB-ACCESS-SIGN:
- ''
CB-ACCESS-TIMESTAMP:
- '1664892730.9341774'
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.pro.coinbase.com/accounts
response:
body:
string: '{"message":"Invalid API Key"}'
headers:
Access-Control-Allow-Headers:
- Content-Type, Accept, cb-session, cb-fp, cb-form-factor
Access-Control-Allow-Methods:
- GET,POST,DELETE,PUT
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- cb-before, cb-after, cb-gdpr
Access-Control-Max-Age:
- '7200'
CF-Cache-Status:
- MISS
CF-RAY:
- 754e82e0acbb5d2b-LIS
Cache-Control:
- no-store
Connection:
- keep-alive
Content-Length:
- '29'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:13 GMT
Etag:
- W/"1d-mmRSeO9uba2rhQtGfy4YjixIkt4"
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000; includeSubDomains
Vary:
- Accept-Encoding
X-Content-Type-Options:
- nosniff
X-Dns-Prefetch-Control:
- 'off'
X-Download-Options:
- noopen
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,74 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
CB-ACCESS-KEY:
- test_key
CB-ACCESS-PASSPHRASE:
- test_passphrase
CB-ACCESS-SIGN:
- ''
CB-ACCESS-TIMESTAMP:
- '1664892731.1623147'
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.pro.coinbase.com/accounts
response:
body:
string: '{"message":"Invalid API Key"}'
headers:
Access-Control-Allow-Headers:
- Content-Type, Accept, cb-session, cb-fp, cb-form-factor
Access-Control-Allow-Methods:
- GET,POST,DELETE,PUT
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- cb-before, cb-after, cb-gdpr
Access-Control-Max-Age:
- '7200'
CF-Cache-Status:
- MISS
CF-RAY:
- 754e82e1fd1fda76-LIS
Cache-Control:
- no-store
Connection:
- keep-alive
Content-Length:
- '29'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:13 GMT
Etag:
- W/"1d-mmRSeO9uba2rhQtGfy4YjixIkt4"
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000; includeSubDomains
Vary:
- Accept-Encoding
X-Content-Type-Options:
- nosniff
X-Dns-Prefetch-Control:
- 'off'
X-Download-Options:
- noopen
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,74 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
CB-ACCESS-KEY:
- test_key
CB-ACCESS-PASSPHRASE:
- test_passphrase
CB-ACCESS-SIGN:
- ''
CB-ACCESS-TIMESTAMP:
- '1664892731.3799975'
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.pro.coinbase.com/accounts
response:
body:
string: '{"message":"Invalid API Key"}'
headers:
Access-Control-Allow-Headers:
- Content-Type, Accept, cb-session, cb-fp, cb-form-factor
Access-Control-Allow-Methods:
- GET,POST,DELETE,PUT
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- cb-before, cb-after, cb-gdpr
Access-Control-Max-Age:
- '7200'
CF-Cache-Status:
- MISS
CF-RAY:
- 754e82e36d69da82-LIS
Cache-Control:
- no-store
Connection:
- keep-alive
Content-Length:
- '29'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:14 GMT
Etag:
- W/"1d-mmRSeO9uba2rhQtGfy4YjixIkt4"
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000; includeSubDomains
Vary:
- Accept-Encoding
X-Content-Type-Options:
- nosniff
X-Dns-Prefetch-Control:
- 'off'
X-Download-Options:
- noopen
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,56 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
coinglassSecret:
- test_key
method: GET
uri: https://open-api.coinglass.com/api/pro/v1/futures/openInterest/chart?&symbol=BTC&interval=0
response:
body:
string: !!binary |
H4sIAAAAAAAAAKpWSs5PSVWyUjI2MDAwVNJRyi1OB/KKU5OLUksUMvPKEnMyU4DCxaXJyanFxUpW
aYk5xam1AAAAAP//AwANMldNNwAAAA==
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- rt,obe,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
Access-Control-Allow-Methods:
- GET,POST,OPTIONS,DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '1728000'
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:16 GMT
Server:
- nginx
Transfer-Encoding:
- chunked
X-RateLimit-Burst-Capacity:
- '20'
X-RateLimit-Remaining:
- '19'
X-RateLimit-Replenish-Rate:
- '3'
vary:
- accept-encoding
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,56 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
coinglassSecret:
- test_key
method: GET
uri: https://open-api.coinglass.com/api/pro/v1/futures/openInterest/chart?&symbol=BTC&interval=0
response:
body:
string: !!binary |
H4sIAAAAAAAAAKpWSs5PSVWyUjI2MDAwVNJRyi1OB/KKU5OLUksUMvPKEnMyU4DCxaXJyanFxUpW
aYk5xam1AAAAAP//AwANMldNNwAAAA==
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- rt,obe,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
Access-Control-Allow-Methods:
- GET,POST,OPTIONS,DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '1728000'
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:17 GMT
Server:
- nginx
Transfer-Encoding:
- chunked
X-RateLimit-Burst-Capacity:
- '20'
X-RateLimit-Remaining:
- '19'
X-RateLimit-Replenish-Rate:
- '3'
vary:
- accept-encoding
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,56 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
coinglassSecret:
- test_key
method: GET
uri: https://open-api.coinglass.com/api/pro/v1/futures/openInterest/chart?&symbol=BTC&interval=0
response:
body:
string: !!binary |
H4sIAAAAAAAAAKpWSs5PSVWyUjI2MDAwVNJRyi1OB/KKU5OLUksUMvPKEnMyU4DCxaXJyanFxUpW
aYk5xam1AAAAAP//AwANMldNNwAAAA==
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- rt,obe,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
Access-Control-Allow-Methods:
- GET,POST,OPTIONS,DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '1728000'
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:18 GMT
Server:
- nginx
Transfer-Encoding:
- chunked
X-RateLimit-Burst-Capacity:
- '20'
X-RateLimit-Remaining:
- '19'
X-RateLimit-Replenish-Rate:
- '3'
vary:
- accept-encoding
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cryptopanic.com/api/v1/posts/?auth_token=test_key
response:
body:
string: '{"status":"Incomplete","info":"Token not found"}'
headers:
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:18 GMT
Server:
- nginx/1.19.3
Strict-Transport-Security:
- max-age=31536000
Vary:
- Cookie
X-Frame-Options:
- SAMEORIGIN
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cryptopanic.com/api/v1/posts/?auth_token=test_key
response:
body:
string: '{"status":"Incomplete","info":"Token not found"}'
headers:
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:19 GMT
Server:
- nginx/1.19.3
Strict-Transport-Security:
- max-age=31536000
Vary:
- Cookie
X-Frame-Options:
- SAMEORIGIN
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cryptopanic.com/api/v1/posts/?auth_token=test_key
response:
body:
string: '{"status":"Incomplete","info":"Token not found"}'
headers:
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:19 GMT
Server:
- nginx/1.19.3
Strict-Transport-Security:
- max-age=31536000
Vary:
- Cookie
X-Frame-Options:
- SAMEORIGIN
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://eodhistoricaldata.com/api/exchanges-list/?api_token=test_key&fmt=json
response:
body:
string: Unauthenticated
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With
Access-Control-Allow-Methods:
- GET, POST, PUT, DELETE, OPTIONS
Cache-Control:
- max-age=0, no-cache
Connection:
- keep-alive
Content-Type:
- text/html; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:24 GMT
Server:
- nginx/1.19.10
Transfer-Encoding:
- chunked
X-Page-Speed:
- 1.13.35.2-0
X-RateLimit-Limit:
- '2000'
X-RateLimit-Remaining:
- '1999'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://eodhistoricaldata.com/api/exchanges-list/?api_token=test_key&fmt=json
response:
body:
string: Unauthenticated
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With
Access-Control-Allow-Methods:
- GET, POST, PUT, DELETE, OPTIONS
Cache-Control:
- max-age=0, no-cache
Connection:
- keep-alive
Content-Type:
- text/html; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:24 GMT
Server:
- nginx/1.19.10
Transfer-Encoding:
- chunked
X-Page-Speed:
- 1.13.35.2-0
X-RateLimit-Limit:
- '2000'
X-RateLimit-Remaining:
- '1998'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://eodhistoricaldata.com/api/exchanges-list/?api_token=test_key&fmt=json
response:
body:
string: Unauthenticated
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With
Access-Control-Allow-Methods:
- GET, POST, PUT, DELETE, OPTIONS
Cache-Control:
- max-age=0, no-cache
Connection:
- keep-alive
Content-Type:
- text/html; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:25 GMT
Server:
- nginx/1.19.10
Transfer-Encoding:
- chunked
X-Page-Speed:
- 1.13.35.2-0
X-RateLimit-Limit:
- '2000'
X-RateLimit-Remaining:
- '1997'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,34 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.ethplorer.io/getTokenInfo/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984?apiKey=test_key
response:
body:
string: '{"error":{"code":1,"message":"Invalid API key"}}'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:19 GMT
ETag:
- '"5e85ab36-30"'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,34 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.ethplorer.io/getTokenInfo/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984?apiKey=test_key
response:
body:
string: '{"error":{"code":1,"message":"Invalid API key"}}'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:19 GMT
ETag:
- '"5e85ab36-30"'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,34 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.ethplorer.io/getTokenInfo/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984?apiKey=test_key
response:
body:
string: '{"error":{"code":1,"message":"Invalid API key"}}'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:19 GMT
ETag:
- '"5e85ab36-30"'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,52 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://finnhub.io/api/v1/quote?symbol=AAPL&token=test_key
response:
body:
string: '{"error":"Invalid API key"}'
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin
Access-Control-Allow-Methods:
- POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- Content-Length
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82a2b8a30b3f-AMS
Connection:
- keep-alive
Content-Length:
- '27'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:03 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=y28J3p3ND7mH15e9FUJyxMVLr28GKf8qkS9LJjdv4RC7F8BMYc0QlRqAck%2FgWQjgaL%2BJUH%2FSeO%2B9Mtb92XdsYkVVNZj7DUGseg8mlGlJbrkHWjgKhA0g5BegqBQ9"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
alt-svc:
- h3=":443"; ma=86400, h3-29=":443"; ma=86400
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,52 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://finnhub.io/api/v1/quote?symbol=AAPL&token=test_key
response:
body:
string: '{"error":"Invalid API key"}'
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin
Access-Control-Allow-Methods:
- POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- Content-Length
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82a51801b35a-PRG
Connection:
- keep-alive
Content-Length:
- '27'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:04 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=I7kQaN5DjT%2F%2BD6inbHovlNoesLGgz5FdGP%2BsPHPhtvxXQlwNKoOrw%2F%2FVsfjFqCy9kqqq2jfBAUcr40aAu3cNlmPK90r4HRq%2Fq3a9PxImO4QuS3x8GVTsikIXMSTd"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
alt-svc:
- h3=":443"; ma=86400, h3-29=":443"; ma=86400
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,52 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://finnhub.io/api/v1/quote?symbol=AAPL&token=test_key
response:
body:
string: '{"error":"Invalid API key"}'
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin
Access-Control-Allow-Methods:
- POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- Content-Length
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82a759c8b75a-AMS
Connection:
- keep-alive
Content-Length:
- '27'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:04 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=crrZHeERwnM9feC%2FeMWGd6UPyQ24C5SJhx%2FfxlMiLvbtz%2FN7jEQiOIdK3zoSUzAIYryZzGcSPdV9v7tejkLlRXBylyGNFnO6O5fgcFtbcBrbbHjSOy2KODBz3Pol"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
alt-svc:
- h3=":443"; ma=86400, h3-29=":443"; ma=86400
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,41 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://financialmodelingprep.com/api/v3/profile/AAPL?apikey=test_key
response:
body:
string: '{"Error Message" : "Invalid API KEY. Please retry or visit our documentation
to create one FREE https://financialmodelingprep.com/developer/docs"}'
headers:
Access-Control-Allow-Headers:
- origin, content-type, accept, Authorization, authorization
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '3600'
Connection:
- keep-alive
Content-Length:
- '146'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:11:54 GMT
Server:
- nginx/1.14.0 (Ubuntu)
status:
code: 200
message: ''
version: 1

View File

@@ -0,0 +1,41 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://financialmodelingprep.com/api/v3/profile/AAPL?apikey=test_key
response:
body:
string: '{"Error Message" : "Invalid API KEY. Please retry or visit our documentation
to create one FREE https://financialmodelingprep.com/developer/docs"}'
headers:
Access-Control-Allow-Headers:
- origin, content-type, accept, Authorization, authorization
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '3600'
Connection:
- keep-alive
Content-Length:
- '146'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:11:55 GMT
Server:
- nginx/1.14.0 (Ubuntu)
status:
code: 200
message: ''
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://financialmodelingprep.com/api/v3/profile/AAPL?apikey=test_key
response:
body:
string: '{"Error Message" : "Invalid API KEY. Please retry or visit our documentation
to create one FREE https://financialmodelingprep.com/developer/docs"}'
headers:
Access-Control-Allow-Headers:
- origin, content-type, accept, Authorization, authorization
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Max-Age:
- '3600'
Connection:
- keep-alive
Content-Length:
- '146'
Content-Type:
- application/json;charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:11:55 GMT
Server:
- nginx/1.14.0 (Ubuntu)
X-Frame-Options:
- SAMEORIGIN
status:
code: 200
message: ''
version: 1

View File

@@ -0,0 +1,39 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.stlouisfed.org/fred/series?series_id=GNPCA&api_key=test_key
response:
body:
string: '<?xml version="1.0" encoding="utf-8" ?>
<error code="400" message="Bad Request. The value for variable api_key is
not a 32 character alpha-numeric lower-case string. Read https://fred.stlouisfed.org/docs/api/api_key.html
for more information." />
'
headers:
Connection:
- keep-alive
Content-Length:
- '252'
Content-Type:
- text/xml; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:11:59 GMT
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,39 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.stlouisfed.org/fred/series?series_id=GNPCA&api_key=test_key
response:
body:
string: '<?xml version="1.0" encoding="utf-8" ?>
<error code="400" message="Bad Request. The value for variable api_key is
not a 32 character alpha-numeric lower-case string. Read https://fred.stlouisfed.org/docs/api/api_key.html
for more information." />
'
headers:
Connection:
- keep-alive
Content-Length:
- '252'
Content-Type:
- text/xml; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:11:59 GMT
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,39 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.stlouisfed.org/fred/series?series_id=GNPCA&api_key=test_key
response:
body:
string: '<?xml version="1.0" encoding="utf-8" ?>
<error code="400" message="Bad Request. The value for variable api_key is
not a 32 character alpha-numeric lower-case string. Read https://fred.stlouisfed.org/docs/api/api_key.html
for more information." />
'
headers:
Connection:
- keep-alive
Content-Length:
- '252'
Content-Type:
- text/xml; charset=UTF-8
Date:
- Tue, 04 Oct 2022 14:12:00 GMT
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.glassnode.com/v1/metrics/market/price_usd_close?api_key=test_key&a=BTC&i=24h&s=1614556800&u=1641227783561
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- https://studio.glassnode.com
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:15 GMT
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.glassnode.com/v1/metrics/market/price_usd_close?api_key=test_key&a=BTC&i=24h&s=1614556800&u=1641227783561
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- https://studio.glassnode.com
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:15 GMT
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.glassnode.com/v1/metrics/market/price_usd_close?api_key=test_key&a=BTC&i=24h&s=1614556800&u=1641227783561
response:
body:
string: "<html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401
Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- https://studio.glassnode.com
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- text/html
Date:
- Tue, 04 Oct 2022 14:12:15 GMT
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cloud.iexapis.com/v1/stock/AAPL/quote?token=test_key
response:
body:
string: The API key provided is not valid.
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Request-Source
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Date:
- Tue, 04 Oct 2022 14:12:05 GMT
Server:
- nginx
Set-Cookie:
- ctoken=4374ad8b67b644cf9b9cf68f9380b9c4; Max-Age=43200; Path=/; Expires=Wed,
05 Oct 2022 02:12:05 GMT
Strict-Transport-Security:
- max-age=15768000
Transfer-Encoding:
- chunked
status:
code: 403
message: The API key provided is not valid.
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cloud.iexapis.com/v1/stock/AAPL/quote?token=test_key
response:
body:
string: The API key provided is not valid.
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Request-Source
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Date:
- Tue, 04 Oct 2022 14:12:05 GMT
Server:
- nginx
Set-Cookie:
- ctoken=aac42812e9ab40a9895fe2f9d125b01b; Max-Age=43200; Path=/; Expires=Wed,
05 Oct 2022 02:12:05 GMT
Strict-Transport-Security:
- max-age=15768000
Transfer-Encoding:
- chunked
status:
code: 403
message: The API key provided is not valid.
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://cloud.iexapis.com/v1/stock/AAPL/quote?token=test_key
response:
body:
string: The API key provided is not valid.
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Request-Source
Access-Control-Allow-Methods:
- GET, OPTIONS
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Date:
- Tue, 04 Oct 2022 14:12:06 GMT
Server:
- nginx
Set-Cookie:
- ctoken=44466ca5782e48079f471b59e01d91e2; Max-Age=43200; Path=/; Expires=Wed,
05 Oct 2022 02:12:06 GMT
Strict-Transport-Security:
- max-age=15768000
Transfer-Encoding:
- chunked
status:
code: 403
message: The API key provided is not valid.
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
x-messari-api-key:
- test_key
method: GET
uri: https://data.messari.io/api/v2/assets/bitcoin/profile?fields=profile%2Fgeneral%2Foverview%2Fofficial_links
response:
body:
string: !!binary |
H4sIAAAAAAAA/zTIsQrCMBAG4N2nKP/cyiXEUu8N3J1c5LCnBBsTclGQ0nd3cv1WWJP2NvAKXaSY
zmDq0WJSa5IKGJ68HxwNFM4usPPs3f4QpnE6Ohov6KG15nq95VnBgegPSc3koWCcXh9Z4txJid1T
v9091yQN27b7BQAA//8vl4T4gAAAAA==
headers:
content-encoding:
- gzip
content-length:
- '136'
content-type:
- application/json; charset=UTF-8
date:
- Tue, 04 Oct 2022 14:12:21 GMT
vary:
- Accept-Encoding,Origin
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
x-messari-api-key:
- test_key
method: GET
uri: https://data.messari.io/api/v2/assets/bitcoin/profile?fields=profile%2Fgeneral%2Foverview%2Fofficial_links
response:
body:
string: !!binary |
H4sIAAAAAAAA/zTIsQrCMBAG4N2nKP/cyuWMIvcG7k4ucthTio0JuShI6bs7uX4LvGl7O2SBzVrc
Rgj1aFMyb5oKBEzMQ6CB4jlECSzM290hUIx83F/Qw2rN9XrLo0Ei0R+SuevDIDi9PjpPY6dl6p72
7e65Jm1Y180vAAD//1z4o6OAAAAA
headers:
content-encoding:
- gzip
content-length:
- '135'
content-type:
- application/json; charset=UTF-8
date:
- Tue, 04 Oct 2022 14:12:22 GMT
vary:
- Accept-Encoding,Origin
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
x-messari-api-key:
- test_key
method: GET
uri: https://data.messari.io/api/v2/assets/bitcoin/profile?fields=profile%2Fgeneral%2Foverview%2Fofficial_links
response:
body:
string: !!binary |
H4sIAAAAAAAA/zTIscrCMBAH8P17ivKf24/LGYreG7g7uchhTyk2JuSiIKXv7uT6W+FN28shK2zR
4jZBqEebk3nTVCBgYh4CDRRPIUpg4d1/GHl/GOPIZ/SwWnO9XPNkkEj0g2TuejcIjs+3LvPUaZm7
h326W65JG7bt7xsAAP//9LV/XoAAAAA=
headers:
content-encoding:
- gzip
content-length:
- '137'
content-type:
- application/json; charset=UTF-8
date:
- Tue, 04 Oct 2022 14:12:23 GMT
vary:
- Accept-Encoding,Origin
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://newsapi.org/v2/everything?q=keyword&apiKey=test_key
response:
body:
string: '{"status":"error","code":"apiKeyInvalid","message":"Your API key is
invalid or incorrect. Check your key, or go to https://newsapi.org to create
a free API key."}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e828dcaf094e9-LIS
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '162'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:00 GMT
Expires:
- '-1'
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Pragma:
- no-cache
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=satBmgeFc0SUZbmrJA8miZMXviDJk%2Bidvs9zGOft7xQn68GRZz8NX3QyxDv%2FTyZr5HcG2KzuUhSmSIjIIStUHW%2FvaeFkW6cyRJiIJLoX3uBjm4Y598zDdxX6emcV"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
X-Cached-Result:
- 'false'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://newsapi.org/v2/everything?q=keyword&apiKey=test_key
response:
body:
string: '{"status":"error","code":"apiKeyInvalid","message":"Your API key is
invalid or incorrect. Check your key, or go to https://newsapi.org to create
a free API key."}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e828f7be65d3f-LIS
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '162'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:00 GMT
Expires:
- '-1'
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Pragma:
- no-cache
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=JhbCZGdb4BPvUSUGU7rB4fgskaHIJdUH9HGtWpOQYp5h9gRbQCt2ZkcuvBCbTKntmDJHwAepRmqfHXi36OvFu1x3RvmARdHRrfT4vgTCOSjb8%2BUs5CDNqQJztfFv"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
X-Cached-Result:
- 'false'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://newsapi.org/v2/everything?q=keyword&apiKey=test_key
response:
body:
string: '{"status":"error","code":"apiKeyInvalid","message":"Your API key is
invalid or incorrect. Check your key, or go to https://newsapi.org to create
a free API key."}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e8290989a94e9-LIS
Cache-Control:
- no-cache
Connection:
- keep-alive
Content-Length:
- '162'
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:00 GMT
Expires:
- '-1'
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Pragma:
- no-cache
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Gzu7JsPRszgutgQgmKZn37C8vZutiW6ja%2BjcEtsxxafx5RTA1HMbz2z9fVq%2Btt1jwuHHkeSoKOrTEyKYAePDecCT7Ncy7BY0yGdndOlD1enL961k9XN%2BGyISvo9f"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
X-Cached-Result:
- 'false'
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_access_token
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api-fxpractice.oanda.com/v3/accounts/test_account/pricing?instruments=EUR_USD
response:
body:
string: '{"errorMessage":"Invalid value specified for ''accountID''"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82c81fa3da76-LIS
Connection:
- keep-alive
Content-Length:
- '58'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:09 GMT
RequestID:
- '0'
Server:
- cloudflare
Set-Cookie:
- __cf_bm=QdbY2YyfstsQDRakhXTkWbwn3q_nuYjOHwWlfWb0KtE-1664892729-0-AfJjas3MxMCR/blCjGuFbl0fx9Q61uKwBxSCGevI2XURLNa0jregshQuziZifPqoxPKxhqqrkcsIEblbeOr0ytc=;
path=/; expires=Tue, 04-Oct-22 14:42:09 GMT; domain=.api-fxpractice.oanda.com;
HttpOnly; Secure; SameSite=None
Vary:
- Origin, Accept-Encoding
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_access_token
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api-fxpractice.oanda.com/v3/accounts/test_account/pricing?instruments=EUR_USD
response:
body:
string: '{"errorMessage":"Invalid value specified for ''accountID''"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82c97d41da7e-LIS
Connection:
- keep-alive
Content-Length:
- '58'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:09 GMT
RequestID:
- '0'
Server:
- cloudflare
Set-Cookie:
- __cf_bm=q_TOQOf3L2HIMu26EuEwncYIQXT9PB6hu4LAqwISNRA-1664892729-0-ASRBsufjw/Y412F5/ihq02v3kw3I0IIn0B5dIiAp1fGn7zohtWsggcY1b3ZfGZnd2IHaxeFB3MslixHMB+PWci0=;
path=/; expires=Tue, 04-Oct-22 14:42:09 GMT; domain=.api-fxpractice.oanda.com;
HttpOnly; Secure; SameSite=None
Vary:
- Origin, Accept-Encoding
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,46 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_access_token
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api-fxpractice.oanda.com/v3/accounts/test_account/pricing?instruments=EUR_USD
response:
body:
string: '{"errorMessage":"Invalid value specified for ''accountID''"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e82caef8e5d2f-LIS
Connection:
- keep-alive
Content-Length:
- '58'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:10 GMT
RequestID:
- '0'
Server:
- cloudflare
Set-Cookie:
- __cf_bm=bMYAAvxCIn1pk33uwICyuvC9hYFypI3yNJs4yhkuu68-1664892730-0-ARGpc/IDtvrNkxMZYVHugsnsPD2A0Q7kwQ+6jA9n9nbNFs7lTFZHjY0tdVEsYK3AxN1xPKpTgGmVsMg2L30abMs=;
path=/; expires=Tue, 04-Oct-22 14:42:10 GMT; domain=.api-fxpractice.oanda.com;
HttpOnly; Secure; SameSite=None
Vary:
- Origin, Accept-Encoding
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2020-06-01/2020-06-17?apiKey=test_key
response:
body:
string: '{"status":"ERROR","request_id":"934c1435b85f13ef00ed70c0945ff651","error":"Unknown
API Key"}'
headers:
Connection:
- keep-alive
Content-Length:
- '92'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:57 GMT
Server:
- nginx/1.19.2
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
X-Request-Id:
- 934c1435b85f13ef00ed70c0945ff651
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2020-06-01/2020-06-17?apiKey=test_key
response:
body:
string: '{"status":"ERROR","request_id":"0230763a38f6aa17d239ad0d13bf5a89","error":"Unknown
API Key"}'
headers:
Connection:
- keep-alive
Content-Length:
- '92'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:57 GMT
Server:
- nginx/1.19.2
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
X-Request-Id:
- 0230763a38f6aa17d239ad0d13bf5a89
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,37 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2020-06-01/2020-06-17?apiKey=test_key
response:
body:
string: '{"status":"ERROR","request_id":"80a5646d2f8c4844d37d23e42137c46f","error":"Unknown
API Key"}'
headers:
Connection:
- keep-alive
Content-Length:
- '92'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:11:58 GMT
Server:
- nginx/1.19.2
Strict-Transport-Security:
- max-age=15724800; includeSubDomains
X-Request-Id:
- 80a5646d2f8c4844d37d23e42137c46f
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,76 @@
interactions:
- request:
body: null
headers:
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
accept:
- application/json
request-source:
- python
request-source-version:
- 3.7.0
x-api-token:
- test_key
method: GET
uri: https://data.nasdaq.com/api/v3/datasets/EIA/PET_RWTC_D/data?order=asc
response:
body:
string: !!binary |
H4sIAAAAAAAA/1WNsQ7CMAxEf8XyjCpYu3VgYCsTYqqixISoxRaOI7VU/XeCmDrd6emdbsV3cRym
gVRFsV3RSyBs8Xru5uMJD/iinF38oRuBlzIFYDFQ8hI5fQgWKQpdf4GRlhaMsg21NdBP5HKdPMmP
OwnqIZjWjC5xA3cp4B3DI1W+EwsH0j9yvn6zQSazxDE3uG1feayDMb0AAAA=
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- '*'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit, X-RateLimit-Remaining
Access-Control-Max-Age:
- '1728000'
Allow:
- GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:11:56 GMT
Server:
- openresty
Set-Cookie:
- visid_incap_2170999=1CofJCbpRoWyLby+w6MBqSs/PGMAAAAAQUIPAAAAAAB4QPjOO5THL62c/mw/CPzG;
expires=Wed, 04 Oct 2023 06:16:11 GMT; HttpOnly; path=/; Domain=.nasdaq.com
- nlbi_2170999=u+1bFOPMOW8J8pV/Kj7S7QAAAAD5I9gUHA/pmC6ngTuPTCAf; path=/; Domain=.nasdaq.com
- incap_ses_1170_2170999=aZY9QVdZiE8FDrrSkK08ECs/PGMAAAAAy0E8FukUuVhuc9Jh3bkxKQ==;
path=/; Domain=.nasdaq.com
Transfer-Encoding:
- chunked
X-CDN:
- Imperva
X-Iinfo:
- 2-69778184-69778213 NNYN CT(56 33 0) RT(1664892715526 129) q(0 0 1 0) r(1
1) U11
X-RateLimit-Limit:
- '50'
X-RateLimit-Remaining:
- '40'
X-Request-Id:
- 5686807e-748a-4a33-a6f8-1ad5de9cc66a
X-Runtime:
- '0.008569'
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,76 @@
interactions:
- request:
body: null
headers:
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
accept:
- application/json
request-source:
- python
request-source-version:
- 3.7.0
x-api-token:
- test_key
method: GET
uri: https://data.nasdaq.com/api/v3/datasets/EIA/PET_RWTC_D/data?order=asc
response:
body:
string: !!binary |
H4sIAAAAAAAA/1WNsQ7CMAxEf8XyjCpYu3VgYCsTYqqixISoxRaOI7VU/XeCmDrd6emdbsV3cRym
gVRFsV3RSyBs8Xru5uMJD/iinF38oRuBlzIFYDFQ8hI5fQgWKQpdf4GRlhaMsg21NdBP5HKdPMmP
OwnqIZjWjC5xA3cp4B3DI1W+EwsH0j9yvn6zQSazxDE3uG1feayDMb0AAAA=
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- '*'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit, X-RateLimit-Remaining
Access-Control-Max-Age:
- '1728000'
Allow:
- GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:11:56 GMT
Server:
- openresty
Set-Cookie:
- visid_incap_2170999=1CofJCbpRoWyLby+w6MBqSs/PGMAAAAAQUIPAAAAAAB4QPjOO5THL62c/mw/CPzG;
expires=Wed, 04 Oct 2023 06:16:13 GMT; HttpOnly; path=/; Domain=.nasdaq.com
- nlbi_2170999=npScGs0UgVIcm/ZuKj7S7QAAAAB2bM3KAgW1BDafFCheDnqn; path=/; Domain=.nasdaq.com
- incap_ses_1170_2170999=1T4rBDeDQUIFDrrSkK08ECw/PGMAAAAAwrsYYgk442gkR+t88eggpA==;
path=/; Domain=.nasdaq.com
Transfer-Encoding:
- chunked
X-CDN:
- Imperva
X-Iinfo:
- 0-34837951-34837955 NNYY CT(7 20 0) RT(1664892716021 122) q(0 0 0 0) r(0 0)
U11
X-RateLimit-Limit:
- '50'
X-RateLimit-Remaining:
- '39'
X-Request-Id:
- 6e10972d-46cf-437e-8d22-8a0ee1442a0a
X-Runtime:
- '0.007796'
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,76 @@
interactions:
- request:
body: null
headers:
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
accept:
- application/json
request-source:
- python
request-source-version:
- 3.7.0
x-api-token:
- test_key
method: GET
uri: https://data.nasdaq.com/api/v3/datasets/EIA/PET_RWTC_D/data?order=asc
response:
body:
string: !!binary |
H4sIAAAAAAAA/1WNsQ7CMAxEf8XyjCpYu3VgYCsTYqqixISoxRaOI7VU/XeCmDrd6emdbsV3cRym
gVRFsV3RSyBs8Xru5uMJD/iinF38oRuBlzIFYDFQ8hI5fQgWKQpdf4GRlhaMsg21NdBP5HKdPMmP
OwnqIZjWjC5xA3cp4B3DI1W+EwsH0j9yvn6zQSazxDE3uG1feayDMb0AAAA=
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Headers:
- '*'
Access-Control-Allow-Methods:
- GET, POST, OPTIONS
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit, X-RateLimit-Remaining
Access-Control-Max-Age:
- '1728000'
Allow:
- GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:11:57 GMT
Server:
- openresty
Set-Cookie:
- visid_incap_2170999=1CofJCbpRoWyLby+w6MBqSs/PGMAAAAAQUIPAAAAAAB4QPjOO5THL62c/mw/CPzG;
expires=Wed, 04 Oct 2023 06:16:12 GMT; HttpOnly; path=/; Domain=.nasdaq.com
- nlbi_2170999=ObekPRMQah154flOKj7S7QAAAAAFH/DiR93HvfTOxbLhn4em; path=/; Domain=.nasdaq.com
- incap_ses_1170_2170999=At2sR4tSCUQFDrrSkK08ECw/PGMAAAAAWOMTH8G3nGrwAcHcP6aauQ==;
path=/; Domain=.nasdaq.com
Transfer-Encoding:
- chunked
X-CDN:
- Imperva
X-Iinfo:
- 13-192935658-192935688 NNYY CT(7 19 0) RT(1664892716414 131) q(0 0 0 0) r(0
0) U11
X-RateLimit-Limit:
- '50'
X-RateLimit-Remaining:
- '38'
X-Request-Id:
- deb8bce2-5957-43fc-beda-ada425d5732f
X-Runtime:
- '0.008970'
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,68 @@
interactions:
- request:
body: grant_type=password&password=test_pass&username=test_user
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Basic dGVzdF9pZDp0ZXN0X3NlY3JldA==
Connection:
- close
Content-Length:
- '57'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- test_agent PRAW/7.6.0 prawcore/2.3.0
method: POST
uri: https://www.reddit.com/api/v1/access_token
response:
body:
string: '{"message": "Unauthorized", "error": 401}'
headers:
Accept-Ranges:
- bytes
Cache-Control:
- private, max-age=3600
Connection:
- close
Content-Length:
- '41'
Date:
- Tue, 04 Oct 2022 14:12:06 GMT
NEL:
- '{"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains":
false, "success_fraction": 0.2, "failure_fraction": 0.2}'
Report-To:
- '{"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true, "endpoints":
[{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting",
"max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports"
}]}'
Server:
- snooserv
Set-Cookie:
- edgebucket=aGNHJAEO0Y3jFVDZt2; Domain=reddit.com; Max-Age=63071999; Path=/; secure
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 varnish
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-XSS-Protection:
- 1; mode=block
content-type:
- application/json; charset=UTF-8
www-authenticate:
- Basic realm="reddit"
x-moose:
- majestic
x-ua-compatible:
- IE=edge
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,68 @@
interactions:
- request:
body: grant_type=password&password=test_pass&username=test_user
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Basic dGVzdF9pZDp0ZXN0X3NlY3JldA==
Connection:
- close
Content-Length:
- '57'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- test_agent PRAW/7.6.0 prawcore/2.3.0
method: POST
uri: https://www.reddit.com/api/v1/access_token
response:
body:
string: '{"message": "Unauthorized", "error": 401}'
headers:
Accept-Ranges:
- bytes
Cache-Control:
- private, max-age=3600
Connection:
- close
Content-Length:
- '41'
Date:
- Tue, 04 Oct 2022 14:12:07 GMT
NEL:
- '{"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains":
false, "success_fraction": 0.2, "failure_fraction": 0.2}'
Report-To:
- '{"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true, "endpoints":
[{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting",
"max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports"
}]}'
Server:
- snooserv
Set-Cookie:
- edgebucket=H3hyRQbqYeztzihFZt; Domain=reddit.com; Max-Age=63071999; Path=/; secure
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 varnish
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-XSS-Protection:
- 1; mode=block
content-type:
- application/json; charset=UTF-8
www-authenticate:
- Basic realm="reddit"
x-moose:
- majestic
x-ua-compatible:
- IE=edge
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,68 @@
interactions:
- request:
body: grant_type=password&password=test_pass&username=test_user
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Basic dGVzdF9pZDp0ZXN0X3NlY3JldA==
Connection:
- close
Content-Length:
- '57'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- test_agent PRAW/7.6.0 prawcore/2.3.0
method: POST
uri: https://www.reddit.com/api/v1/access_token
response:
body:
string: '{"message": "Unauthorized", "error": 401}'
headers:
Accept-Ranges:
- bytes
Cache-Control:
- private, max-age=3600
Connection:
- close
Content-Length:
- '41'
Date:
- Tue, 04 Oct 2022 14:12:07 GMT
NEL:
- '{"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains":
false, "success_fraction": 0.2, "failure_fraction": 0.2}'
Report-To:
- '{"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true, "endpoints":
[{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting",
"max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports"
}]}'
Server:
- snooserv
Set-Cookie:
- edgebucket=iALI4KfWGMoECUNJSL; Domain=reddit.com; Max-Age=63071999; Path=/; secure
Strict-Transport-Security:
- max-age=31536000; includeSubdomains
Via:
- 1.1 varnish
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-XSS-Protection:
- 1; mode=block
content-type:
- application/json; charset=UTF-8
www-authenticate:
- Basic realm="reddit"
x-moose:
- majestic
x-ua-compatible:
- IE=edge
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,60 @@
interactions:
- request:
body: '
{{ getMetric(metric: "dev_activity"){{ timeseriesData( slug: "ethereum" from:
""2020-02-10T07:00:00Z"" to: "2020-03-10T07:00:00Z" interval: "1w"){{ datetime
value }} }} }}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Apikey test_key
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- application/graphql
User-Agent:
- python-requests/2.28.1
method: POST
uri: https://api.santiment.net/graphql
response:
body:
string: '{"errors":{"details":"Apikey ''test_key'' is not valid"}}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e832cfd9e950c-LIS
Cache-Control:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Length:
- '55'
Date:
- Tue, 04 Oct 2022 14:12:25 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=wtM3RbEm%2FCuR29Ru%2FlXHnEEnG84XHFDcm%2B8U%2BTUaFbjkq6VfWApnXDELV0QbxCj6UXt%2B9%2BlwyfXfY3POm42%2BE6GMFO%2B6RLgWRQD0VHnhTp51VopaqbSi0QOhX59hhHMiz6a6"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-SharedAccess-Authorization
access-control-allow-methods:
- GET, POST, OPTIONS
set-cookie:
- INGRESSCOOKIE=1664892746.904.11247.492222; Path=/.+; Secure; HttpOnly
x-request-id:
- a7495d3f7084c8e35492c70576bf4b6d
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,60 @@
interactions:
- request:
body: '
{{ getMetric(metric: "dev_activity"){{ timeseriesData( slug: "ethereum" from:
""2020-02-10T07:00:00Z"" to: "2020-03-10T07:00:00Z" interval: "1w"){{ datetime
value }} }} }}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Apikey test_key
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- application/graphql
User-Agent:
- python-requests/2.28.1
method: POST
uri: https://api.santiment.net/graphql
response:
body:
string: '{"errors":{"details":"Apikey ''test_key'' is not valid"}}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e832e69a05d2f-LIS
Cache-Control:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Length:
- '55'
Date:
- Tue, 04 Oct 2022 14:12:26 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=73uHjVWlQQnZw5NxPCRh7%2BZsXfbjULPTSI3S9ps5tJx8w8pG8R5ltf8CtdtRTM9Y9sDAarDtYHpg6u5SH7Jz4SlRcV5t1t5HtUwzbZKEykx23Whrrt5FQFFBs%2B0%2BS8i%2FLb4W"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-SharedAccess-Authorization
access-control-allow-methods:
- GET, POST, OPTIONS
set-cookie:
- INGRESSCOOKIE=1664892747.059.11247.844562; Path=/.+; Secure; HttpOnly
x-request-id:
- 525b7df0250e9951c40efbf9ac28f266
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,60 @@
interactions:
- request:
body: '
{{ getMetric(metric: "dev_activity"){{ timeseriesData( slug: "ethereum" from:
""2020-02-10T07:00:00Z"" to: "2020-03-10T07:00:00Z" interval: "1w"){{ datetime
value }} }} }}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Apikey test_key
Connection:
- keep-alive
Content-Length:
- '172'
Content-Type:
- application/graphql
User-Agent:
- python-requests/2.28.1
method: POST
uri: https://api.santiment.net/graphql
response:
body:
string: '{"errors":{"details":"Apikey ''test_key'' is not valid"}}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e832f6c8503ba-LIS
Cache-Control:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Length:
- '55'
Date:
- Tue, 04 Oct 2022 14:12:26 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=eVAoNvpy%2BtpkFc5M%2F%2BYl3ZBEw3Pc2%2Fng2SfsqeuceivAiBW4qqEcJ1rh2LVrQk5lcz8VKA6%2Fa5tHuTfhBP3UimhhGlL3%2FqFADY00i%2BDTVY26qzu3jeOqM5SyDYyPbcNn7ao7"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-SharedAccess-Authorization
access-control-allow-methods:
- GET, POST, OPTIONS
set-cookie:
- INGRESSCOOKIE=1664892747.192.11247.98702; Path=/.+; Secure; HttpOnly
x-request-id:
- 9cd1b3e5b206c535b223949f8a23c0d9
status:
code: 400
message: Bad Request
version: 1

View File

@@ -0,0 +1,28 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.sentimentinvestor.com/v1/trending?token=test_key
response:
body:
string: Service Unavailable
headers:
Content-Length:
- '19'
Content-Type:
- text/plain; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:12 GMT
status:
code: 503
message: Service Unavailable
version: 1

View File

@@ -0,0 +1,28 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.sentimentinvestor.com/v1/trending?token=test_key
response:
body:
string: Service Unavailable
headers:
Content-Length:
- '19'
Content-Type:
- text/plain; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:12 GMT
status:
code: 503
message: Service Unavailable
version: 1

View File

@@ -0,0 +1,28 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://api.sentimentinvestor.com/v1/trending?token=test_key
response:
body:
string: Service Unavailable
headers:
Content-Length:
- '19'
Content-Type:
- text/plain; charset=utf-8
Date:
- Tue, 04 Oct 2022 14:12:13 GMT
status:
code: 503
message: Service Unavailable
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://prod.smartstakeapi.com/listData?app=TERRA&type=history&dayCount=30&key=test_key&token=test_access_token
response:
body:
string: '{"errors": "DENIED"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e8308f91203ba-LIS
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:20 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=k9Asqsb5taHwbKsVvw61b9Ygs7VvhMfMLv5iJ4L%2FT787oPlH5rYaNJTndNHj7tyowQx1UaEWu%2Bn4mmBl1XU5Dnd4EVofpafbIZPSSiMYrWmJhe7D6UwQf7bB9lV9fGFbJDyxHtinn6Q%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-origin:
- '*'
x-amz-apigw-id:
- Ze7StGFaIAMFzsw=
x-amzn-requestid:
- 0e6f5a5c-c041-4c4c-826f-476b974a3ae9
x-amzn-trace-id:
- Root=1-633c3f44-6874ebdd0da59a4f09bef655;Sampled=0
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://prod.smartstakeapi.com/listData?app=TERRA&type=history&dayCount=30&key=test_key&token=test_access_token
response:
body:
string: '{"errors": "DENIED"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e830bbf8703ee-LIS
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:20 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=YHNBnp2YblqRepvgBmvlpkZsByLf89TCng7ZIvs1iWWKcCeyCEalBqqF6RuHSe9WQo3JcOmtgMWo8Jo51Ch98GBMuiESZ8ANnKcolTr2lmLUH%2Fwx%2F%2FVheEh4yM9J12HMCA5d%2BvqlhKw%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-origin:
- '*'
x-amz-apigw-id:
- Ze7SuFtPoAMFYNQ=
x-amzn-requestid:
- 31689984-2b19-45d7-bd18-4d3e480797f6
x-amzn-trace-id:
- Root=1-633c3f44-0684c3657b0178ce4d77b551;Sampled=0
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,50 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://prod.smartstakeapi.com/listData?app=TERRA&type=history&dayCount=30&key=test_key&token=test_access_token
response:
body:
string: '{"errors": "DENIED"}'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 754e830cefc394fa-LIS
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- application/json
Date:
- Tue, 04 Oct 2022 14:12:20 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=S7PX7iRFWsq2ZRQiLVbrgMRgyZZwlYHUfWWgonu5kBr5QLaSVHoO%2F8SmJCgzUrlBJ%2F40YHRNhlCcNgQ7feTE4%2BzNeJktmXsu8uqKBQ%2BSXmfdHqizvs%2BjBH2BNX2fcRGtB0amUy79t4M%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
access-control-allow-credentials:
- 'true'
access-control-allow-origin:
- '*'
x-amz-apigw-id:
- Ze7SwH8moAMFWcw=
x-amzn-requestid:
- 37aa0e4b-43a1-48e6-bc58-f4f2051e63a8
x-amzn-trace-id:
- Root=1-633c3f44-27f1355108b1006577b6f617;Sampled=0
status:
code: 200
message: OK
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_key
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://sandbox.tradier.com/v1/markets/quotes?symbols=AAPL
response:
body:
string: Invalid Access Token
headers:
Access-Control-Allow-Headers:
- accept, authorization
Access-Control-Allow-Methods:
- GET, PUT, POST, DELETE
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- plain/text
Date:
- Tue, 04 Oct 2022 14:12:01 GMT
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_key
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://sandbox.tradier.com/v1/markets/quotes?symbols=AAPL
response:
body:
string: Invalid Access Token
headers:
Access-Control-Allow-Headers:
- accept, authorization
Access-Control-Allow-Methods:
- GET, PUT, POST, DELETE
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- plain/text
Date:
- Tue, 04 Oct 2022 14:12:01 GMT
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,38 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_key
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
method: GET
uri: https://sandbox.tradier.com/v1/markets/quotes?symbols=AAPL
response:
body:
string: Invalid Access Token
headers:
Access-Control-Allow-Headers:
- accept, authorization
Access-Control-Allow-Methods:
- GET, PUT, POST, DELETE
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- plain/text
Date:
- Tue, 04 Oct 2022 14:12:02 GMT
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
authorization:
- Bearer test_access_token
method: GET
uri: https://api.twitter.com/2/tweets/search/recent?query=%28%5C%24AAPL%29+%28lang%3Aen%29&max_results=10&tweet.fields=created_at%2Clang
response:
body:
string: "{\n \"title\": \"Unauthorized\",\n \"type\": \"about:blank\",\n \"status\":
401,\n \"detail\": \"Unauthorized\"\n}"
headers:
cache-control:
- no-cache, no-store, max-age=0
content-length:
- '99'
content-type:
- application/problem+json
date:
- Tue, 04 Oct 2022 14:12:08 GMT
perf:
- '7626143928'
server:
- tsa_f
x-connection-hash:
- 1a1975af5733283ca199c311b7565d85caee1d5ef43d7058791912d59789b846
x-response-time:
- '99'
x-transaction-id:
- 117e76d2ed30aa1b
status:
code: 401
message: Unauthorized
version: 1

View File

@@ -0,0 +1,43 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.1
authorization:
- Bearer test_access_token
method: GET
uri: https://api.twitter.com/2/tweets/search/recent?query=%28%5C%24AAPL%29+%28lang%3Aen%29&max_results=10&tweet.fields=created_at%2Clang
response:
body:
string: "{\n \"title\": \"Unauthorized\",\n \"type\": \"about:blank\",\n \"status\":
401,\n \"detail\": \"Unauthorized\"\n}"
headers:
cache-control:
- no-cache, no-store, max-age=0
content-length:
- '99'
content-type:
- application/problem+json
date:
- Tue, 04 Oct 2022 14:12:08 GMT
perf:
- '7626143928'
server:
- tsa_f
x-connection-hash:
- 27a26e3a151b37777bd51cc82c68c8634b08fd5140b74590917af8bdbe25b907
x-response-time:
- '99'
x-transaction-id:
- eff7767f74df1e1d
status:
code: 401
message: Unauthorized
version: 1

Some files were not shown because too many files have changed in this diff Show More