Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evokelektrique/bonbast-php
Bonbast price list in PHP
https://github.com/evokelektrique/bonbast-php
Last synced: 10 days ago
JSON representation
Bonbast price list in PHP
- Host: GitHub
- URL: https://github.com/evokelektrique/bonbast-php
- Owner: evokelektrique
- Created: 2022-10-21T11:56:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T15:05:26.000Z (over 1 year ago)
- Last Synced: 2024-04-04T09:01:13.554Z (8 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bonbast PHP
Simple and easy to use package to retrieve the latest updated currency prices from the Bonbast website.
# Install
Using composer `composer require evokelektrique/bonbast`
# Usage
```php
use Bonbast\Bonbast;$bonbast = new Bonbast();
$result = $bonbast->get_formatted_price("usd"); // usd, eur ...var_dump($result);
// array(2) {
// ["sell"]=>
// string(5) "32730"
// ["buy"]=>
// string(5) "32630"
// }
```