xuzhe35 / net-ipfs-api-1

InterPlanetary File System API for .Net (C#, VB, F# ...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net-ipfs-api

build status Coverage Status Version docs

A .Net client library for the IPFS HTTP API, implemented in C#. More information, including the Class Reference, is on the Project web site.

Features

Getting started

Published releases of IPFS API are available on NuGet. To install, run the following command in the Package Manager Console.

PM> Install-Package Ipfs.Api

For the latest build or older non-released builds see Continuous Integration.

IpfsClient

Every IPFS Api is a property of the IpfsClient. The following example reads a text file

var ipfs = new IpfsClient();

const string filename = "QmXarR6rgkQ2fDSHjSY5nM2kuCXKYGViky5nohtwgF65Ec/about";
string text = await ipfs.FileSystem.ReadAllTextAsync(filename);

License

Copyright © 2015-2018 Richard Schneider (makaretu@gmail.com)

The IPFS API library is licensed under the MIT license. Refer to the LICENSE file for more information.

About

InterPlanetary File System API for .Net (C#, VB, F# ...)

License:MIT License


Languages

Language:C# 100.0%