Skip to content

Commit

Permalink
README.md edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mathishouis committed Aug 26, 2021
1 parent de54fba commit 318b51a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,18 @@ A PHP package to make the Chronopost API easier to use.

```
composer require kozennnn/chronopost-api
```

## Usage

The following code return all the available Chronopost Pickup points.

```php
<?php

use Kozennnn\ChronopostAPI\ChronopostAPI;

$chronopost = new ChronopostAPI();
print_r($chronopost->getPickupPointsFromZipCode('44000')); // will print array with all the pickup points

```

0 comments on commit 318b51a

Please sign in to comment.