https://github.com/melizeche/dolarpy-wrapper-python
API wrapper for DolarPy
https://github.com/melizeche/dolarpy-wrapper-python
currency-exchange-rates exchange exchange-rate pyg python usd
Last synced: about 1 month ago
JSON representation
API wrapper for DolarPy
- Host: GitHub
- URL: https://github.com/melizeche/dolarpy-wrapper-python
- Owner: melizeche
- License: mit
- Created: 2017-08-22T09:19:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-20T20:59:23.000Z (4 months ago)
- Last Synced: 2025-08-23T13:44:17.871Z (about 2 months ago)
- Topics: currency-exchange-rates, exchange, exchange-rate, pyg, python, usd
- Language: Python
- Homepage: https://dolar.melizeche.com/api/1.0/
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dolarpy-wrapper-python
API wrapper for DolarPy https://dolar.melizeche.com
https://github.com/melizeche/dolarPy## Install
```
pip install dolarpy
```## Usage
```python
import dolarpyproviders = dolarpy.get_providers() # 'bcp', 'maxicambios', 'cambioschaco', etc...
dolar_referencial = dolarpy.get() # default: BCP referencial_diario
dolar_compra_chaco = dolarpy.get_compra(provider='cambioschaco')
dolar_venta_maxi = dolarpy.get_venta(provider='maxicambios')```
## Requirements
- Python 2.7 or 3+
- requests==2.18.4## Dev Instructions
```
- git clone git@github.com:melizeche/dolarpy-wrapper-python.git
- virtualenv env
- source env/bin/activate
- pip install -r requirements.txt
```## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## TODO
* Testing
* ~~Proper~~ Extend documentation
* More API methods## Credits
* Marcelo Elizeche Landó
## License
This project is licensed under the terms of the MIT license - see the [LICENSE](LICENSE) file for details