eodhd 0.19.6 → 0.19.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +24 -0
  3. data/Gemfile +1 -1
  4. data/LICENSE +21 -0
  5. data/README.md +6 -10
  6. data/eodhd.gemspec +6 -4
  7. data/lib/Eodhd/VERSION.rb +1 -1
  8. data/lib/eodhd.rb +1 -1
  9. data/test/{Eodhd_test.rb → eodhd_test.rb} +2 -2
  10. data/test/fixtures/vcr_cassettes/client_eod_bulk_last_day.yml +51 -0
  11. data/test/fixtures/vcr_cassettes/client_eod_bulk_last_day_401_error.yml +43 -0
  12. data/test/fixtures/vcr_cassettes/client_eod_data.yml +51 -0
  13. data/test/fixtures/vcr_cassettes/client_eod_data_401_error.yml +43 -0
  14. data/test/fixtures/vcr_cassettes/client_exchange_symbol_list.yml +2774 -0
  15. data/test/fixtures/vcr_cassettes/client_exchange_symbol_list_401_error.yml +43 -0
  16. data/test/fixtures/vcr_cassettes/client_exchanges_list.yml +97 -0
  17. data/test/fixtures/vcr_cassettes/client_exchanges_list_401_error.yml +43 -0
  18. data/test/fixtures/vcr_cassettes/client_fundamentals.yml +153 -0
  19. data/test/fixtures/vcr_cassettes/client_fundamentals_401_error.yml +43 -0
  20. data/test/fixtures/vcr_cassettes/client_fundamentals_filtered.yml +91 -0
  21. data/test/fixtures/vcr_cassettes/client_intraday.yml +6492 -0
  22. data/test/fixtures/vcr_cassettes/client_intraday_401_error.yml +43 -0
  23. data/test/fixtures/vcr_cassettes/eodhd_eod_bulk_last_day.yml +51 -0
  24. data/test/fixtures/vcr_cassettes/eodhd_eod_data.yml +51 -0
  25. data/test/fixtures/vcr_cassettes/eodhd_exchange_symbols.yml +2931 -0
  26. data/test/fixtures/vcr_cassettes/eodhd_exchanges.yml +123 -0
  27. data/test/fixtures/vcr_cassettes/eodhd_fundamentals.yml +153 -0
  28. data/test/fixtures/vcr_cassettes/eodhd_intraday.yml +6492 -0
  29. data/test/fixtures/vcr_cassettes/fundamentals_aapl.yml +153 -0
  30. data/test/fixtures/vcr_cassettes/fundamentals_cba_au.yml +99 -0
  31. data/test/gemspec_test.rb +1 -1
  32. data/test/helper.rb +1 -1
  33. metadata +40 -4
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://eodhd.com/api/eod/BHP.AU?api_token=<API_TOKEN>&fmt=json&period=d
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 401
19
+ message: Unauthorized
20
+ headers:
21
+ Server:
22
+ - nginx/1.19.10
23
+ Content-Type:
24
+ - text/html; charset=UTF-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Cache-Control:
30
+ - no-cache, private
31
+ Date:
32
+ - Sun, 05 Oct 2025 02:55:20 GMT
33
+ Access-Control-Allow-Credentials:
34
+ - 'true'
35
+ Access-Control-Allow-Methods:
36
+ - GET, POST, PUT, DELETE, OPTIONS
37
+ Access-Control-Allow-Headers:
38
+ - Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With
39
+ body:
40
+ encoding: UTF-8
41
+ string: Unauthenticated
42
+ recorded_at: Sun, 05 Oct 2025 02:55:20 GMT
43
+ recorded_with: VCR 6.3.1