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/fundamentals/AAPL.US?api_token=<API_TOKEN>&fmt=json
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
+ - Wed, 18 Mar 2026 15:09:42 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: Wed, 18 Mar 2026 15:09:42 GMT
43
+ recorded_with: VCR 6.4.0
@@ -0,0 +1,91 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://eodhd.com/api/fundamentals/AAPL.US?api_token=<API_TOKEN>&filter=General&fmt=json
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: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.19.10
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Vary:
30
+ - Accept-Encoding
31
+ Cache-Control:
32
+ - no-cache, private
33
+ Date:
34
+ - Thu, 19 Mar 2026 15:29:29 GMT
35
+ X-Ratelimit-Limit:
36
+ - '1400'
37
+ X-Ratelimit-Remaining:
38
+ - '1399'
39
+ Access-Control-Allow-Credentials:
40
+ - 'true'
41
+ Access-Control-Allow-Methods:
42
+ - GET, POST, PUT, DELETE, OPTIONS
43
+ Access-Control-Allow-Headers:
44
+ - Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With
45
+ body:
46
+ encoding: ASCII-8BIT
47
+ string: '{"Code":"AAPL","Type":"Common Stock","Name":"Apple Inc","Exchange":"NASDAQ","CurrencyCode":"USD","CurrencyName":"US
48
+ Dollar","CurrencySymbol":"$","CountryName":"USA","CountryISO":"US","OpenFigi":"BBG000B9XRY4","ISIN":"US0378331005","LEI":"HWUPKR0MPOU8FGXBT394","PrimaryTicker":"AAPL.US","CUSIP":"037833100","CIK":"0000320193","EmployerIdNumber":"94-2404110","FiscalYearEnd":"September","IPODate":"1980-12-12","InternationalDomestic":"International\/Domestic","Sector":"Technology","Industry":"Consumer
49
+ Electronics","GicSector":"Information Technology","GicGroup":"Technology Hardware
50
+ & Equipment","GicIndustry":"Technology Hardware, Storage & Peripherals","GicSubIndustry":"Technology
51
+ Hardware, Storage & Peripherals","HomeCategory":"Domestic","IsDelisted":false,"Description":"Apple
52
+ Inc. designs, manufactures, and markets smartphones, personal computers, tablets,
53
+ wearables, and accessories worldwide. The company offers iPhone, a line of
54
+ smartphones; Mac, a line of personal computers; iPad, a line of multi-purpose
55
+ tablets; and wearables, home, and accessories comprising AirPods, Apple Vision
56
+ Pro, Apple TV, Apple Watch, Beats products, and HomePod, as well as Apple
57
+ branded and third-party accessories. It also provides AppleCare support and
58
+ cloud services; and operates various platforms, including the App Store that
59
+ allow customers to discover and download applications and digital content,
60
+ such as books, music, video, games, and podcasts, as well as advertising services
61
+ include third-party licensing arrangements and its own advertising platforms.
62
+ In addition, the company offers various subscription-based services, such
63
+ as Apple Arcade, a game subscription service; Apple Fitness+, a personalized
64
+ fitness service; Apple Music, which offers users a curated listening experience
65
+ with on-demand radio stations; Apple News+, a subscription news and magazine
66
+ service; Apple TV, which offers exclusive original content and live sports;
67
+ Apple Card, a co-branded credit card; and Apple Pay, a cashless payment service,
68
+ as well as licenses its intellectual property. The company serves consumers,
69
+ and small and mid-sized businesses; and the education, enterprise, and government
70
+ markets. It distributes third-party applications for its products through
71
+ the App Store. The company also sells its products through its retail and
72
+ online stores, and direct sales force; and third-party cellular network carriers
73
+ and resellers. The company was formerly known as Apple Computer, Inc. and
74
+ changed its name to Apple Inc. in January 2007. Apple Inc. was founded in
75
+ 1976 and is headquartered in Cupertino, California.","Address":"One Apple
76
+ Park Way, Cupertino, CA, United States, 95014","AddressData":{"Street":"One
77
+ Apple Park Way","City":"Cupertino","State":"CA","Country":"United States","ZIP":"95014"},"Listings":{"0":{"Code":"0R2V","Exchange":"LSE","Name":"Apple
78
+ Inc."},"1":{"Code":"AAPL","Exchange":"BA","Name":"Apple Inc DRC"},"2":{"Code":"AAPL34","Exchange":"SA","Name":"Apple
79
+ Inc"}},"Officers":{"0":{"Name":"Mr. Timothy D. Cook","Title":"CEO & Director","YearBorn":"1961"},"1":{"Name":"Mr.
80
+ Kevan Parekh","Title":"Senior VP & CFO","YearBorn":"1972"},"2":{"Name":"Mr.
81
+ Sabih Khan","Title":"Senior VP & Chief Operating Officer","YearBorn":"1967"},"3":{"Name":"Ms.
82
+ Deirdre O''Brien","Title":"Senior Vice President of Retail & People","YearBorn":"1967"},"4":{"Name":"Ms.
83
+ Katherine L. Adams","Title":"Senior VP of Government Affairs & Secretary","YearBorn":"1964"},"5":{"Name":"Mr.
84
+ Ben Borders","Title":"Principal Accounting Officer","YearBorn":"1981"},"6":{"Name":"Suhasini Chandramouli","Title":"Director
85
+ of Investor Relations","YearBorn":"NA"},"7":{"Name":"Ms. Jennifer G. Newstead
86
+ J.D.","Title":"Senior VP & General Counsel","YearBorn":"1971"},"8":{"Name":"Ms.
87
+ Kristin Huguet Quayle","Title":"Vice President of Worldwide Communications","YearBorn":"NA"},"9":{"Name":"Mr.
88
+ Greg Joswiak","Title":"Senior Vice President of Worldwide Marketing","YearBorn":"NA"}},"Phone":"(408)
89
+ 996-1010","WebURL":"https:\/\/www.apple.com","LogoURL":"\/img\/logos\/US\/aapl.png","FullTimeEmployees":150000,"UpdatedAt":"2026-03-18"}'
90
+ recorded_at: Thu, 19 Mar 2026 15:29:29 GMT
91
+ recorded_with: VCR 6.4.0