Sha256: d5c71423f6dc1570d8cec4484ba52ac7cd1a3d658cc405d8b54e6d968e2b7e09

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

# Europeana
Foederati::Providers.register :europeana do
  urls.api = 'https://www.europeana.eu/api/v2/search.json?wskey=%{api_key}&query=%{query}&rows=%{limit}&profile=minimal'
  urls.site = 'http://www.europeana.eu/portal/search?q=%{query}'

  results.items = 'items'
  results.total = 'totalResults'

  fields.title = 'title'
  fields.thumbnail = 'edmPreview'
  fields.url = 'guid'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foederati-0.2.0 lib/foederati/providers/europeana.rb
foederati-0.1.0 lib/foederati/providers/europeana.rb