# Omdb Api [![Build Status](https://travis-ci.org/nikkypx/omdb-api.svg?branch=master)](https://travis-ci.org/nikkypx/omdb-api) > A ruby interface for the [Open Movie Database API](http://omdbapi.com/) ## Required You must request an API key first from [here](http://omdbapi.com/) ## Installation Add this line to your application's Gemfile: ```ruby gem 'omdb-api' ``` And then execute: $ bundle Or install it yourself as: $ gem install omdb-api ## Usage ### Configuration First you have to create a client object with your API key `client = Omdb::Api::Client.new(api_key: [your API key])` You can also set the API key with a block ```ruby client = Omdb::Api::Client.new do |config| config.api_key = api_key end ``` ### API ```ruby require 'omdb/api' client.find_by_title('star wars') => # # [#