finnhub-python 2.4.23__tar.gz → 2.4.25__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
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.23
3
+ Version: 2.4.25
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -17,6 +17,7 @@ Dynamic: description-content-type
17
17
  Dynamic: home-page
18
18
  Dynamic: keywords
19
19
  Dynamic: license
20
+ Dynamic: license-file
20
21
  Dynamic: requires-dist
21
22
  Dynamic: summary
22
23
 
@@ -24,7 +25,7 @@ Dynamic: summary
24
25
 
25
26
  - API documentation: https://finnhub.io/docs/api
26
27
  - API version: 1.0.0
27
- - Package version: 2.4.23
28
+ - Package version: 2.4.25
28
29
 
29
30
  ## Installation
30
31
 
@@ -331,6 +332,9 @@ print(finnhub_client.price_metrics(symbol="AAPL", date="2022-01-01"))
331
332
  print(finnhub_client.market_holiday(exchange='US'))
332
333
  print(finnhub_client.market_status(exchange='US'))
333
334
 
335
+ # Bank Branch
336
+ print(finnhub_client.bank_branch("JPM"))
337
+
334
338
  ```
335
339
 
336
340
  ## License
@@ -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.23
5
+ - Package version: 2.4.25
6
6
 
7
7
  ## Installation
8
8
 
@@ -309,6 +309,9 @@ print(finnhub_client.price_metrics(symbol="AAPL", date="2022-01-01"))
309
309
  print(finnhub_client.market_holiday(exchange='US'))
310
310
  print(finnhub_client.market_status(exchange='US'))
311
311
 
312
+ # Bank Branch
313
+ print(finnhub_client.bank_branch("JPM"))
314
+
312
315
  ```
313
316
 
314
317
  ## License
@@ -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):
@@ -524,3 +525,6 @@ class Client:
524
525
 
525
526
  def stock_revenue_breakdown2(self, symbol):
526
527
  return self._get("/stock/revenue-breakdown2", params={"symbol": symbol})
528
+
529
+ def bank_branch(self, symbol):
530
+ return self._get("/bank-branch", params={"symbol": symbol})
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.23
3
+ Version: 2.4.25
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -17,6 +17,7 @@ Dynamic: description-content-type
17
17
  Dynamic: home-page
18
18
  Dynamic: keywords
19
19
  Dynamic: license
20
+ Dynamic: license-file
20
21
  Dynamic: requires-dist
21
22
  Dynamic: summary
22
23
 
@@ -24,7 +25,7 @@ Dynamic: summary
24
25
 
25
26
  - API documentation: https://finnhub.io/docs/api
26
27
  - API version: 1.0.0
27
- - Package version: 2.4.23
28
+ - Package version: 2.4.25
28
29
 
29
30
  ## Installation
30
31
 
@@ -331,6 +332,9 @@ print(finnhub_client.price_metrics(symbol="AAPL", date="2022-01-01"))
331
332
  print(finnhub_client.market_holiday(exchange='US'))
332
333
  print(finnhub_client.market_status(exchange='US'))
333
334
 
335
+ # Bank Branch
336
+ print(finnhub_client.bank_branch("JPM"))
337
+
334
338
  ```
335
339
 
336
340
  ## License
@@ -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.23"
6
+ VERSION = "2.4.25"
7
7
  REQUIRES = ["requests >= 2.22.0"]
8
8
 
9
9
  with open("README.md", "r") as fh:
File without changes