Description
This plugin collect and allow to view historical currency rates from Bank of Poland by using custom Gutenberg Blocks and REST API.
The plugin use Narodowy Bank Polski public API for collecting the rates.
Endpoint: https://api.nbp.pl/api/exchangerates/tables/a
Bank of Poland API description and terms of use: https://api.nbp.pl/en.html
After plugin installation your site will provide Bank of Poland historical data using your local database and directly from your domain as REST API service (see FAQ about endpoints).
Screenshots
Blocks
This plugin provides 3 blocks.
- Currency Chart Currency Chart Block for Archive NBP plugin
- Currency Converter Currency Converter Block for Archive NBP plugin
- Last Rates Last Rates Block for Archive NBP plugin
Installation
- Upload the plugin folder to your /wp-content/plugins/ folder.
- Go to the Plugins page and activate the plugin.
FAQ
-
Which API endpoints can I use after installation
-
- List of currencies rates for available needed date and date before it.
Example: https://your-domain-name.com/wp-json/archive-nbp/v1/date-rates/YYYY-MM-DD/AAA,BBB
Where: YYYY – year; MM-month; DD-day; AAA,BBB – ISO 4217 currency codes, for example – USD,EUR - List of rates for needed currency and dates range.
Example: https://your-domain-name.com/wp-json/archive-nbp/v1/currencies-period/YYYY-MM-DD/YYYY-MM-DD/AAA
Where: YYYY – year; MM-month; DD-day; AAA,BBB – ISO 4217 currency code, for example – USD
- List of currencies rates for available needed date and date before it.
-
Which Gutenberg Blocks can I use after installation
-
- Currency Chart – show rates for needed currency and dates range as a chart. If you want to have the last available date on the chart always then set Date end parameter far in the future.
- Last Rates – show rates for needed date. Set the date far in the future if you want to show last rates always.
- Currency Converter – allow to calculate any amount in different currencies using last available rates in the table.
-
Are any translation available for the plugin?
-
Plugin support 2 languages: English and Polish.
-
How to uninstall the plugin?
-
Simply deactivate and delete the plugin.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Archive NBP” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.
PenyumbangTranslate “Archive NBP” into your language.
Berminat dalam pembangunan?
Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.
Changelog
1.0
- Plugin released.