Skip to main content

MNB soap client

Project description

MNB SOAP client module

Background

MNB exposes a publicly available exchange rate API as a SOAP service where they publish their official daily rate between Hungarian Forint (HUF) and most other currencies.

The official documentation of their API is available here in hungarian or in english

Installation

python setup.py install

or you can install it with any PyPI-compatible package manager

pip install mnb-soap

Sample:

from mnb import getCurrencyRate

a = getCurrencyRate()

print (a.getCurrencies())
print ('1 japán yen = {} hungarian forint', a.getActual('JPY'))
print (a.getHistoricalData('2023-03-01','2023-03-20','JPY'))
end

Python version:

Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

History:

2023-03-21 ver 0.1 rewrited to module old branch moved to: 0.0.1 alpha

2023-02-24 actualisation

2017-02-06 rewrited test.py scrapper

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MNB_soap-0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

MNB_soap-0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page