Skip to content

Commit

Permalink
Syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
joedawson committed Dec 11, 2015
1 parent 24e3884 commit 9ac8e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ Currently, there are two available response methods. The default `xml` method, o

The following returns an XML string.

```
```php
$xml = Amazon::search('Call of Duty')->xml();
```

And as you can probably assume, the following returns a JSON string.

```
```php
$json = Amazon::search('Halo')->json();
```

Expand Down

1 comment on commit 9ac8e77

@Presenze
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm a beginner but once I've fixed the code with the API credentials, if I send it to the screen I don't see anything only strings of php code, where do I see the search box to see if it works? Thanks

Please sign in to comment.