finnhub-python 2.4.24__tar.gz → 2.4.26__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.24
3
+ Version: 2.4.26
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -25,7 +25,7 @@ Dynamic: summary
25
25
 
26
26
  - API documentation: https://finnhub.io/docs/api
27
27
  - API version: 1.0.0
28
- - Package version: 2.4.24
28
+ - Package version: 2.4.25
29
29
 
30
30
  ## Installation
31
31
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  - API documentation: https://finnhub.io/docs/api
4
4
  - API version: 1.0.0
5
- - Package version: 2.4.24
5
+ - Package version: 2.4.25
6
6
 
7
7
  ## Installation
8
8
 
@@ -144,11 +144,12 @@ class Client:
144
144
  "metric": metric
145
145
  })
146
146
 
147
- def financials(self, symbol, statement, freq):
147
+ def financials(self, symbol, statement, freq, preliminary=''):
148
148
  return self._get("/stock/financials", params={
149
149
  "symbol": symbol,
150
150
  "statement": statement,
151
- "freq": freq
151
+ "freq": freq,
152
+ "preliminary": preliminary
152
153
  })
153
154
 
154
155
  def financials_reported(self, **params):
@@ -525,5 +526,8 @@ class Client:
525
526
  def stock_revenue_breakdown2(self, symbol):
526
527
  return self._get("/stock/revenue-breakdown2", params={"symbol": symbol})
527
528
 
529
+ def newsroom(self, symbol, _from=None, to=None):
530
+ return self._get("/stock/newsroom", params={"symbol": symbol, "from": _from, "to": to})
531
+
528
532
  def bank_branch(self, symbol):
529
533
  return self._get("/bank-branch", params={"symbol": symbol})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.24
3
+ Version: 2.4.26
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -25,7 +25,7 @@ Dynamic: summary
25
25
 
26
26
  - API documentation: https://finnhub.io/docs/api
27
27
  - API version: 1.0.0
28
- - Package version: 2.4.24
28
+ - Package version: 2.4.25
29
29
 
30
30
  ## Installation
31
31
 
@@ -3,7 +3,7 @@
3
3
  from setuptools import setup, find_packages # noqa: H301
4
4
 
5
5
  NAME = "finnhub-python"
6
- VERSION = "2.4.24"
6
+ VERSION = "2.4.26"
7
7
  REQUIRES = ["requests >= 2.22.0"]
8
8
 
9
9
  with open("README.md", "r") as fh:
File without changes