OriginStamp.ApiClient 2.0.2

Install-Package OriginStamp.ApiClient -Version 2.0.2
dotnet add package OriginStamp.ApiClient --version 2.0.2
<PackageReference Include="OriginStamp.ApiClient" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OriginStamp.ApiClient --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OriginStamp.ApiClient, 2.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OriginStamp.ApiClient as a Cake Addin
#addin nuget:?package=OriginStamp.ApiClient&version=2.0.2

// Install OriginStamp.ApiClient as a Cake Tool
#tool nuget:?package=OriginStamp.ApiClient&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

OriginStamp C# Client

Build Status

A C# implementation of the OriginStamp API. For endpoint documentation see OriginStamp Documentation.

For endpoint documentation see OriginStamp Documentation. This C# SDK is automatically generated by the Swagger Codegen project:

For more information, please visit https://originstamp.com.

<a name="frameworks-supported"></a>

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

<a name="dependencies"></a>

Dependencies

The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:

Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes

<a name="getting-started"></a>

Getting Started

The package is available via NuGet here.

using System;
using System.Diagnostics;
using OriginStamp.Client.Api;
using OriginStamp.Client.Client;
using OriginStamp.Client.Model;

namespace Example
{
    public class CreateTimestampExample
    {
        public void main()
        {
            var apiInstance = new TimestampApi();
            var authorization = "authorization_example";  // string | A valid API key is essential for authorization to handle the request.
            var timestampRequest = new TimestampRequest(); // TimestampRequest | DTO for the hash submission. Add all relevant information concerning your hash submission.

            try
            {
                // Submission
                DefaultOfTimestampResponse result = apiInstance.CreateTimestamp(authorization, timestampRequest);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TimestampApi.CreateTimestamp: " + e.Message );
            }
        }
    }
}

Author

mail@originstamp.com

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
2.0.2 118 3/21/2021
1.0.3 313 6/18/2019
1.0.2 259 6/18/2019
1.0.1 272 6/18/2019