/v1/search
Search the registry
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/nuget-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nuget-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nuget-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/nuget-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"skip": 0,
"count": 20,
"limit": 20,
"query": "json",
"total": 10086,
"results": [
{
"id": "Newtonsoft.Json",
"tags": [
"json"
],
"authors": [
"James Newton-King"
],
"summary": null,
"version": "13.0.4",
"icon_url": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.4/icon",
"verified": true,
"nuget_url": "https://www.nuget.org/packages/Newtonsoft.Json",
"description": "Json.NET is a popular high-performance JSON framework for .NET",
"license_url": "https://www.nuget.org/packages/Newtonsoft.Json/13.0.4/license",
"project_url": "https://www.newtonsoft.com/json",
"total_downloads": 8360907153
},
{
"id": "System.Text.Json",
"tags": [],
"authors": [
"Microsoft"
],
"summary": null,
"version": "10.0.8",
"icon_url": "https://api.nuget.org/v3-flatcontainer/system.text.json/10.0.8/icon",
"verified": true,
"nuget_url": "https://www.nuget.org/packages/System.Text.Json",
"description": "Provides high-performance and low-allocating types that serialize objects to JavaScript Object Notation (JSON) text and deserialize JSON text to objects, with UTF-8 support built-in. Also provides types to read and write JSON text encoded as UTF-8, and to create an in-memory document object model (DOM), that is read-only, for random access of the JSON elements within a structured view of the data.\n\nThe System.Text.Json library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.",
"license_url": "https://www.nuget.org/packages/System.Text.Json/10.0.8/license",
"project_url": "https://dot.net/",
"total_downloads": 5792210566
},
{
"id": "Microsoft.IdentityModel.JsonWebTokens",
"tags": [
".NET",
"Windows",
"Authentication",
"Identity",
"Json",
"Web",
"Token"
],
"authors": [
"Microsoft"
],
"summary": null,
"version": "8.18.0",
"icon_url": null,
"verified": true,
"nuget_url": "https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens",
"description": "Includes types that provide support for creating, serializing and validating JSON Web T
…