-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add batch current price query cassettes
- Loading branch information
1 parent
c4fb48c
commit 21ac7a5
Showing
2 changed files
with
468 additions
and
0 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
cassettes/external_apis/test_coingecko/test_coingecko_query_multiple_current_price.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- rotki/1.36.2.dev193+gef1106a1a | ||
method: GET | ||
uri: https://api.coingecko.com/api/v3/simple/price/?ids=bitcoin%2Cdai%2Cbinancecoin&vs_currencies=eth | ||
response: | ||
body: | ||
string: '{"binancecoin":{"eth":0.21387074},"bitcoin":{"eth":31.906046},"dai":{"eth":0.0003068}}' | ||
headers: | ||
CF-Cache-Status: | ||
- HIT | ||
CF-RAY: | ||
- 9062bc6fee6353f1-ATL | ||
Cache-Control: | ||
- max-age=30, public, must-revalidate, s-maxage=60 | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Date: | ||
- Wed, 22 Jan 2025 21:46:19 GMT | ||
Server: | ||
- cloudflare | ||
Transfer-Encoding: | ||
- chunked | ||
access-control-allow-headers: | ||
- Origin, X-Requested-With, Content-Type, Accept, Authorization | ||
access-control-allow-methods: | ||
- POST, PUT, DELETE, GET, OPTIONS | ||
access-control-allow-origin: | ||
- '*' | ||
access-control-expose-headers: | ||
- link, per-page, total | ||
access-control-request-method: | ||
- '*' | ||
alt-svc: | ||
- h3=":443"; ma=86400 | ||
alternate-protocol: | ||
- 443:npn-spdy/2 | ||
content-length: | ||
- '86' | ||
etag: | ||
- W/"4eb704f49c35763ab5066b10c8742ec6" | ||
referrer-policy: | ||
- strict-origin-when-cross-origin | ||
strict-transport-security: | ||
- max-age=15724800; includeSubdomains | ||
vary: | ||
- Accept-Encoding, Origin | ||
x-content-type-options: | ||
- nosniff | ||
x-download-options: | ||
- noopen | ||
x-frame-options: | ||
- SAMEORIGIN | ||
x-permitted-cross-domain-policies: | ||
- none | ||
x-request-id: | ||
- e725103b-9e94-4db9-ad19-75aa399ff213 | ||
x-runtime: | ||
- '0.015910' | ||
x-xss-protection: | ||
- '0' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.