Metadata-Version: 1.1
Name: django-bnr-exchangerate
Version: 0.1.0
Summary: A django application to help with exchangerates from bnr.ro
Home-page: https://github.com/opencbsoft/django-bnr-exchangerate
Author: Cristian Boboc
Author-email: cristi@pidginhost.com
License: MIT
Description: # django-bnr-exchangerate
        A django application that handles the updating and supplying of an exchange rate.
        ## Instalation
        ```
        pip install django-bnr-exchangerate
        ```
        Add to settings.py
        ```
            'bnr_exchangerate',
        ```
        ## Example usage
        Get an exchange rate for a value for a certain day.
        If the day is on saturday or on sunday it will automatically get the friday exchange rate
        ```
        from bnr_exchangerate.models import ExchangeRate
        value = ExchangeRate.get_rate('EUR', '2015-10-10')
        ```
        To import the history from 2005 to current year into the database execute the following command
        ```
        ./manage.py get_history
        ```
        To update daily exchange rate run the following command
        ```
        ./manage.py get_daily
        ```
Keywords: exchangerate,bnr
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
