Sha256: ccbc55e0c9da288a2c28f471f1155a568d68f90c22485908ead0c7bfcf8b9eb4
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true # DPLA Foederati::Providers.register :dpla do urls.api = 'https://api.dp.la/v2/items?api_key=%{api_key}&q=%{query}&page_size=%{limit}' urls.site = 'https://dp.la/search?q=%{query}' results.items = 'docs' results.total = 'count' fields.title = %w(sourceResource title) fields.thumbnail = 'object' fields.url = 'isShownAt' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foederati-0.1.0 | lib/foederati/providers/dpla.rb |