Skip to content

Commit

Permalink
Installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk authored Mar 19, 2021
1 parent 7258804 commit 3115f92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ This is a simple composer package that implements [CoinDesk Bitcoin Price Index

- PHP 7 with curl and json extensions enabled

## Installation

```
composer require kristapsk/php-coindesk-api
```

Or just copy `src/BPI.php` to your project, it has no other dependencies.

## Usage

In all examples last parameter of methods called specifies currency. Supported currencies are `EUR`, `GBP` and `USD`. It can be ommited, will default to `USD`.
Expand Down

0 comments on commit 3115f92

Please sign in to comment.