mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
* User tickers as primary lookup symbol instead of isin * Add security price provider * Fetch security prices in bulk to improve sync performance * Fetch prices in bulk, better mocking for tests
69 lines
1.7 KiB
YAML
69 lines
1.7 KiB
YAML
---
|
|
http_interactions:
|
|
- request:
|
|
method: get
|
|
uri: https://api.synthfinance.com/rates/historical?date=2024-08-01&from=USD&to=MXN
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
User-Agent:
|
|
- Faraday v2.10.0
|
|
Authorization:
|
|
- Bearer <SYNTH_API_KEY>
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Thu, 01 Aug 2024 17:20:28 GMT
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Transfer-Encoding:
|
|
- chunked
|
|
Connection:
|
|
- keep-alive
|
|
Cf-Ray:
|
|
- 8ac77fbcc9d013ae-CMH
|
|
Cf-Cache-Status:
|
|
- DYNAMIC
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
Etag:
|
|
- W/"668c8ac287a5ff6d6a705c35c69823b1"
|
|
Strict-Transport-Security:
|
|
- max-age=63072000; includeSubDomains
|
|
Vary:
|
|
- Accept-Encoding
|
|
Referrer-Policy:
|
|
- strict-origin-when-cross-origin
|
|
Rndr-Id:
|
|
- ff56c2fe-6252-4b2c
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Frame-Options:
|
|
- SAMEORIGIN
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Render-Origin-Server:
|
|
- Render
|
|
X-Request-Id:
|
|
- 61992b01-969b-4af5-8119-9b17e385da07
|
|
X-Runtime:
|
|
- '0.369358'
|
|
X-Xss-Protection:
|
|
- '0'
|
|
Server:
|
|
- cloudflare
|
|
Alt-Svc:
|
|
- h3=":443"; ma=86400
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: '{"data":{"date":"2024-08-01","source":"USD","rates":{"MXN":18.645877}},"meta":{"total_records":1,"credits_used":1,"credits_remaining":248999}}'
|
|
recorded_at: Thu, 01 Aug 2024 17:20:28 GMT
|
|
recorded_with: VCR 6.2.0
|