After loading pearson_sdk.rb:
See the individual API documentation (TravelAPI, DictionaryAPI, etc.) to see how to use the Pearson API SDK for specific APIs.
Searching is fundamental to making the most of the Pearson APIs. See the SEARCHING documentation for hints on how to search for content and make the best use of the available search options.
In your Gemfile:
gem 'pearson_sdk', :git => 'https://github.com/PearsonAPI/Pearson-Api-Sdk-Ruby'
In your code:
require 'pearson'
api = Pearson::FTArticles.new("your api key")
request = api.articles.search(search: "chicken")
p request['results']
article = api.articles.get_by_id('cqDaKgypN5')
paragraphs = article['result']['text']