Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dvandersluis committed Apr 16, 2021
1 parent f2d6bd2 commit 1a852d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ client = Pexels::Client.new('your-access-key')
client.photos.search('Cloud')
```

### Search for photos with filters

```ruby
client.photos.search('Dog', color: :yellow, size: :large, orientation: :square)
```

### Find a specific photo

```ruby
Expand All @@ -50,6 +56,12 @@ client.photos.curated
client.videos.search('waves')
```

### Search for videos with filters

```ruby
client.videos.search('Beach', size: :medium, orientation: :landscape)
```

### Find a specific photo

```ruby
Expand Down

0 comments on commit 1a852d0

Please sign in to comment.