Skip to content

Powershell module for interacting with BNM (National Bank of Moldova) exchange rates

Notifications You must be signed in to change notification settings

DenisBalan/BNMoldovaCurrency

Repository files navigation

Powershell BNMoldovaCurrency module

Module that extracts information from National Bank of Moldova (Banca Națională a Moldovei - BNM) about today’s exchange rate for foreign currencies for integrating into application backends, excel sheets, and more

more info in blogpost: https://denis.md/create-powershell-module.html

image

Know your tools

Building a module nowadays without additional tools, ie "from scratch" is a messy task, below are several tools that helps automate steps.

Tool Used for Stage
[Plaster] module templating develop
[BuildHelpers] dependency restorer build
[InvokeBuild] build automation build
[PSScriptAnalyzer] static code checker testing
[Pester] testing and mocking testing
[Polaris] HTTP framework for PowerShell testing
[PSDeploy] deployment to AppVeyor deploy

Exported functions

Name Synopsis Description
Get-BNMConfig Get the default configuration for BNM. Get the default configuration for Banca Nationala of Moldova.
Get-BNMCurrency Gets BNM currency for specified date. Invokes HTTP GET method to the BNM server for reading exchange rates based on configuration file.
Save-BNMCurrency Saves BNM currency for specified date. Uses Get-BNMCurrency to get data.
Set-BNMConfig Set the default configuration for Banca Nationala of Moldova. Set the default configuration for BNM server.

About

Powershell module for interacting with BNM (National Bank of Moldova) exchange rates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published