Metadata-Version: 2.1
Name: pln-fx
Version: 0.0.6
Summary: Get rates from the Polish National Bank (Narodowy Bank Polski)
Home-page: UNKNOWN
Author: Stephan Semerad
Author-email: <stephan.semerad@gmail.com>
License: UNKNOWN
Keywords: python,poland,fx,exchange rates,exchange,pln,plnfx,zloty
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown


# pln_fx | Get Rates from the National Bank of Poland



So the ECB (European Central Bank) publishes PLN (Zloty) rates but for accounting purposes in Poland there is a requirement to use the rate directly from the Polish National Bank instead of the ECB. Therefore I wrote this library because I am sure other people will need this and I havent found any library. So I dit it.



![](https://github.com/stephansemerad/National-Bank-of-Poland-Rates/blob/master/pln/api.png?raw=true)



# How To Use



```python

from pln_fx import PLN_FX

fx = PLN_FX()



year_rate = fx.get_year('2022')

print('\n year_rate: ', year_rate)



day_rate = fx.get_date('2022-01-03')

print('\n day_rate: ', day_rate)



```



![](https://raw.githubusercontent.com/stephansemerad/National-Bank-of-Poland-Rates/master/pln/overview.png)



