Project

pagemunch

0.0
No commit activity in last 3 years
No release in over 3 years
A client for the PageMunch web crawler API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Gem Version

PageMunch - Link Unfurling

Introduction

PageMunch is a simple API backed by an intelligent web crawler that lets you extract rich previews, entities and images from any url. Whether you want to grab the best title, description and image for a page, prices, authorship, enable video embeds or more.

Installation

Add this line to your application's Gemfile:

gem 'pagemunch'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pagemunch

Usage

We recommend storing your API key in an environment variable, for security and to enable using different keys in your staging, development and production environments.

Pagemunch.key = ENV.fetch('PAGEMUNCH_API_KEY')
response = Pagemunch.extract 'http://www.youtube.com/watch?v=9bZkp7q19f0'
puts response.body.inspect

More Details

For more information, libraries and documentation check out the PageMunch Documentation