[enh] Add Packagist search engine (JSON)

Packagist's API: https://packagist.org/apidoc
This commit is contained in:
Kevin Köllmann 2021-08-31 17:41:59 +02:00 committed by Markus Heiser
parent 1e942435be
commit 2b3687780c

View file

@ -938,6 +938,26 @@ engines:
require_api_key: false
results: HTML
- name: packagist
engine: json_engine
paging: true
search_url: https://packagist.org/search.json?q={query}&page={pageno}
results_query: results
url_query: url
title_query: name
content_query: description
categories: it
disabled: true
timeout: 5.0
shortcut: pack
about:
website: https://packagist.org
wikidata_id: Q108311377
official_api_documentation: https://packagist.org/apidoc
use_official_api: true
require_api_key: false
results: JSON
- name: pdbe
engine: pdbe
shortcut: pdb