Skip to content

National Bank of Georgia (NBG) currency service API wrapper for .NET Core

Notifications You must be signed in to change notification settings

tchelidze/NET.Core.NBG.Service.API

Repository files navigation

NET.Core.NBG.Service.API

National Bank of Georgia (NBG) currency service API wrapper for .NET Standart

PM> Install-Package NET.Core.NBG.Service.API.Client

Usage

  • supported operations
  1. GetCurrencyAsync - Returns currency exchange rates compared to GEL
  2. GetCurrencyDescriptionAsync - Returns currency description. ex : "10 ესტორნური კრონი"
  3. GetCurrencyChangeAsync - Return amount of currency rate change. ex : "-0.0121"
  4. GetCurrencyRateAsync - Returns currency rate change summary : 1 - increased , -1 - decreased , 0 - not changed
  5. GetDateAsync - Returns date for which currency rate is calculated.

Create an NbgApiClient, you can surround the code with using block.

using (var nbpClient = new NbgApiClient())

Invoke client's method and pass corresponding request object

var getCurrencyResponse = await nbpClient.GetCurrencyAsync(new GetCurrency.Request { Code = CurrencyCode.USD });

See usage of all client's method here

License

This project is licensed under the MIT license

About

National Bank of Georgia (NBG) currency service API wrapper for .NET Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages