/v1/search
Search the registry
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/rubygems-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rubygems-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rubygems-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/rubygems-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"page": 1,
"count": 20,
"query": "http",
"results": [
{
"info": "An easy-to-use client library for making requests from Ruby. It uses a simple method chaining system for building requests, similar to Python's Requests.",
"name": "http",
"version": "6.0.3",
"licenses": [
"MIT"
],
"downloads": 203024816,
"project_uri": "https://rubygems.org/gems/http"
},
{
"info": "HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It has with security, standards compliance and compatibility in mind, to behave just the same as today's major web browsers. It has builtin support for the legacy cookies.txt and the latest cookies.sqlite formats of Mozilla Firefox, and its modular API makes it easy to add support for a new backend store.",
"name": "http-cookie",
"version": "1.1.6",
"licenses": [
"MIT"
],
"downloads": 645521136,
"project_uri": "https://rubygems.org/gems/http-cookie"
},
{
"info": "Parse Accept and Accept-Language HTTP headers.",
"name": "http-accept",
"version": "2.2.1",
"licenses": [
"MIT"
],
"downloads": 264228456,
"project_uri": "https://rubygems.org/gems/http-accept"
},
{
"info": " A super fast http parser for ruby.\n Cross platform and multiple ruby implementation support thanks to ffi.\n",
"name": "http-parser",
"version": "1.2.3",
"licenses": [
"MIT"
],
"downloads": 53861662,
"project_uri": "https://rubygems.org/gems/http-parser"
},
{
"info": "Pure-ruby HTTP 2.0 protocol implementation",
"name": "http-2",
"version": "1.1.3",
"licenses": [
"MIT"
],
"downloads": 29331170,
"project_uri": "https://rubygems.org/gems/http-2"
},
{
"info": "Utility-belt to build form data request bodies. Provides support for `application/x-www-form-urlencoded` and `multipart/form-data` types.",
"name": "http-form_data",
"version": "3.0.1",
"licenses": [
"MIT"
],
"downloads": 196097150,
"project_uri": "https://rubygems.org/gems/http-form_data"
},
{
"info": "Ruby bindings to https://github.com/joyent/http-parser and https://github.com/http-parser/http-p
…