Skip to content

Commit

Permalink
feat(readme): changes in "Basic Usage" section
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianneto committed Sep 2, 2016
1 parent 3423d2f commit 2ab2caa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Podcast Crawler is verified and tested on PHP 5.4, 5.5, 5.6 and 7.0.

It's necessary have installed [Tidy](http://php.net/manual/pt_BR/book.tidy.php) library.


## Installation

Install `podcastcrawler/podcastcrawler` using Composer:
Expand All @@ -32,7 +31,6 @@ Install `podcastcrawler/podcastcrawler` using Composer:
$ composer require podcastcrawler/podcastcrawler
```


## Basic Usage

```php
Expand All @@ -47,13 +45,13 @@ $PodcastCrawler = new PodcastCrawler();
$searchByTerm = $PodcastCrawler->get('nerdcast');
var_dump($searchByTerm); // return array with search result

$getFeed = $PodcastCrawler->feed('381816509');
$getFeed = $PodcastCrawler->find('381816509');
var_dump($getFeed); // return array with podcast details and mp3 files
```

## API

See the full API through this [link](http://api.podcastcrawler.com/v0.15.1-beta/index.html)
See the full API through this [link](http://api.podcastcrawler.com/v0.15.1-beta/index.html).

## License

Expand Down

0 comments on commit 2ab2caa

Please sign in to comment.