in

The FileDAG GO SDK provides the quickest / easiest path for interacting with the FileDAG API


Official GO SDK for FileDAG

Overview

The FileDAG GO SDK provides the quickest / easiest path for interacting with the FileDAG API.

Installation

Use go get.

go get github.com/filedrive-team/go-filedag-sdk

Then import the sdk package into your own code.

import "github.com/filedrive-team/go-filedag-sdk/client"

Setup

To start, simply require the FileDAG SDK and set up an instance with your FileDAG API Keys. Don’t know what your keys are? Check out your API Keys Page.

cli := client.NewWithJwtToken("https://api.filedag.cloud", "YOUR_JWT")

or

cli := client.NewWithKeySecret("https://api.filedag.cloud", "YOUR_API_KEY", "YOUR_API_SECRET")

Usage

Once you’ve set up your instance, using the FileDAG SDK is easy. Simply call your desired function and handle the results.

resp, err := cli.PinnedDataTotal()

License

Distributed under MIT License, please see license file within the code for more details.

GitHub

https://github.com/filedrive-team/go-filedag-sdk




Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

30 millions par an : Messi touche autant que Neymar… pour l'instant thumbnail

30 millions par an : Messi touche autant que Neymar… pour l’instant

DISCO BALMA LYRICS – ASEES KAUR x MOUNI ROY