API wrapper for DolarPy https://dolar.melizeche.com https://github.com/melizeche/dolarPy
TODO
import com.melizeche.dolarpy.DolarPy
DolarPy dolar = new DolarPy();
dolar.getProvidersList() // 'bcp', 'maxicambios', 'cambioschaco', etc...
dolar.get() // Returns a Provider Object. default: BCP
dolar.get("maxicambios") // Returns Provider: maxicambios Object
dolar.get("maxicambios").getVenta() //Returns BigDecimal buy value from cambioschaco
dolar.getCompra() // Returns BigDecimal buy value from defaul Provider(bcp)
dolar.getCompra("cambioschaco") // Returns BigDecimal buy value from cambioschaco
dolar.getVenta("amabay") // Returns BigDecimal sell value from Amambay
dolar.get().getUpdated() // Returns LocalDateTime timestamp
private String name;
private BigDecimal compra;
private BigDecimal venta;
private LocalDateTime updated;
public String getName();
public void setName(String name);
public BigDecimal getCompra();
public void setCompra(BigDecimal compra);
public BigDecimal getVenta();
public void setVenta(BigDecimal venta);
public LocalDateTime getUpdated();
public void setUpdated(LocalDateTime updated);
- Java 8
- Gson 2.8.1
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Testing
ProperExtend documentation- More API methods
- Marcelo Elizeche Landó
This project is licensed under the terms of the Apache 2.0 License - see the LICENSE file for details