com.xrely 1.0.1

dotnet add package com.xrely --version 1.0.1
NuGet\Install-Package com.xrely -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="com.xrely" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add com.xrely --version 1.0.1
#r "nuget: com.xrely, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install com.xrely as a Cake Addin
#addin nuget:?package=com.xrely&version=1.0.1

// Install com.xrely as a Cake Tool
#tool nuget:?package=com.xrely&version=1.0.1

com.xrely.Api.SearchApi

Method HTTP request Description
SearchPost POST /search Provides relevant result for your query
SearchSuggestionsGet GET /search/suggestions Get autocomplete phrase or keywords for your query

SearchPost

ApiResponse SearchPost (SearchRequest body)

Provides relevant result for your query

Example

using System;
using System.Diagnostics;
using com.xrely.Api;
using com.xrely.Client;
using com.xrely.Model;

namespace Example
{
    public class SearchPostExample
    {
        public void main()
        {
            var instance = new SearchApi();
            var req = new SearchRequest(); // SearchRequest | Search query term or keyword

            try
            {
                // Provides relevant result for your query
                 req.Q = "<Keyword>"; // string | Search Term or Keyword
                 req.Ak = "<Account Key>"; // string | Key of the xrely application
                 req.Size = 10; // int? | Number Of Results Required (optional) 
                ApiResponse result = instance.SearchPost(req);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SearchApi.SearchPost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
body SearchRequest Search query term or keyword

Return type

ApiResponse

SearchSuggestionsGet

ApiResponse SearchSuggestionsGet (string q, string ak, int? size = null)

Get autocomplete phrase or keywords for your query

Example

using System;
using System.Diagnostics;
using com.xrely.Api;
using com.xrely.Client;
using com.xrely.Model;

namespace Example
{
    public class SearchSuggestionsGetExample
    {
        public void main()
        {
            var apiInstance = new SearchApi();
            var q = "<Keyword>";  // string | Search Term or Keyword
            var ak = "<Account Key>";  // string | Key of the xrely application
            var size = 56;  // int? | Number Of Results Required (optional) 

            try
            {
                // Get autocomplete phrase or keywords for your query
                ApiResponse result = apiInstance.SearchSuggestionsGet(q, ak, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SearchApi.SearchSuggestionsGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
q string Search Term or Keyword
ak string Account Key
size int? Number Of Results Required [optional]

Return type

ApiResponse

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 438 6/19/2021