Skip to main content
POST
/
api
/
nuget
/
packages
/
autocomplete
/nuget/packages/autocomplete
curl --request POST \
  --url https://api.anysite.io/api/nuget/packages/autocomplete \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "NuGetAutocompleteResult",
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Partial package id to autocomplete

Minimum string length: 1
Examples:

"newton"

"serilog"

"microsoft.ext"

count
integer
required

Number of suggestions to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:NuGetAutocompleteResult
web_url
string
default:""