Μετάβαση στο περιεχόμενο
GET /v1/search

Search the Hex registry

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/hex-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/hex-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hex-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hex-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/hex-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "page": 1,
        "count": 20,
        "query": "json",
        "results": [
            {
                "name": "absinthe_json_scalar",
                "html_url": "https://hex.pm/packages/absinthe_json_scalar",
                "description": "This library provides an easily pluggable JSON scalar type for use with [Absinthe](https://github.com/absinthe-graphql/absinthe), a GraphQL implementation for Elixir. This package wraps the JSON scalar recipe from Absinthe docs.",
                "downloads_all": 43641,
                "latest_version": "0.1.0"
            },
            {
                "name": "absinthe_sorting_codec",
                "html_url": "https://hex.pm/packages/absinthe_sorting_codec",
                "description": "Codec for generating Absinthe JSON schemas in a deterministic format with alphabetically ordered type definitions",
                "downloads_all": 22364833,
                "latest_version": "1.0.1"
            },
            {
                "name": "accent",
                "html_url": "https://hex.pm/packages/accent",
                "description": "Dynamically convert the case of your JSON API keys",
                "downloads_all": 355005,
                "latest_version": "1.1.1"
            },
            {
                "name": "acpex",
                "html_url": "https://hex.pm/packages/acpex",
                "description": "An Elixir implementation of the Agent Client Protocol (ACP) for editor-agent communication. This library implements the JSON-RPC based protocol from agentclientprotocol.com.",
                "downloads_all": 17142,
                "latest_version": "0.1.0"
            },
            {
                "name": "admiral_stats_parser",
                "html_url": "https://hex.pm/packages/admiral_stats_parser",
                "description": "Parser for admiral stats JSON data exported from kancolle-arcade.net (Elixir version)",
                "downloads_all": 19500,
                "latest_version": "0.1.0"
            },
            {
                "name": "agent_client_protocol",
                "html_url": "https://hex.pm/packages/agent_client_protocol",
                "description": "Elixir implementation of the Agent Client Protocol (ACP) for communication between code editors and AI coding agents. Includes schema types, JSON-RPC primitives, behaviours, and connection management.",
                "downloads_all": 16946,
                "latest_version": "0.1.0"
            },
            {
                "name": "any_json",
                "html_url": "https://hex.pm/packages/any_json",
                "description": "Elixir library to wrap the main JSON libraries",
                "downloads_all": 41155,
                "latest_version": "0.2.1"
            },
            {
                "name": "arffy",
                "html_url": "https://hex.pm/packages/arffy",
                "description": "Little tool for converting JSON array or CSV 
…