Files
tiingo-python/tests/fixtures/news.yaml
2019-09-01 21:13:45 -04:00

36 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Token 0000000000000000000000000000000000000000]
Connection: [keep-alive]
Content-Type: [application/json]
User-Agent: [tiingo-python-client 0.11.0]
method: GET
uri: https://api.tiingo.com/tiingo/news?limit=1&offset=0&sortBy=publishedDate&tickers=aapl&tickers=googl&source=cnbc.com,altcointoday.com&tags=Technology&tags=Bitcoin&startDate=2016-01-01&endDate=2017-08-31&onlyWithTickers=False
response:
body: {string: '[{
"publishedDate": "2016-01-11T23:13:00Z",
"title": "Tech giants may be stronger than you think",
"url": "http://www.cnbc.com/2016/01/11/tech-giants-may-be-stronger-than-you-think.html",
"description": "Technology companies could soon rebound from the dip that Chinas markets caused them as earnings season approaches, according to experts.",
"source": "cnbc.com",
"sourceDate": "2016-01-12T21:07:28.073309+00:00",
"tickers": ["googl", "aapl", "amzn", "msft", "nflx", "fb"],
"tags": ["Internet", "Investing", "Business", "Economic Reports", "Finance", "Economics", "Computing", "Asia", "Gdp", "Wireless", "China", "Technology", "Places", "Tiingo Top", "Information Technology", "Consumer Discretionary"],
"crawlDate": "2016-01-12T21:07:28.073309+00:00",
"id": 0
}]'}
headers:
Allow: ['GET, HEAD, OPTIONS']
Content-Length: ['62']
Content-Type: [application/json]
Date: ['Sun, 08 Oct 2017 10:17:17 GMT']
Server: [nginx/1.10.1]
Vary: ['Accept, Cookie']
X-Frame-Options: [SAMEORIGIN]
status: {code: 200, message: OK}
version: 1