Skip to content

This Library supports fetching Dell Tech Direct API Warranty Information

License

Notifications You must be signed in to change notification settings

vnikolin/delltdapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DellTDAPI

This Library supports fetching Dell Tech Direct API Warranty Information

Considerations

Proxy can be set via proxyUrl in client.go as needed

Usage

//main.go
package main

import (
	"fmt"
	"github.com/vnikolin/delltdapi"
)

func main() {
	
	client, err := delltdapi.NewDellTDClient("dell-url-fqdn", "client-id", "client-secret", "client-token")
	//Example below (client-token expires every 3600 and is an optional parameter):
	//client, err := delltdapi.NewDellTDClient("apigtwb2c.us.dell.com", "123456", "654321", "")
	
	dellReturn, err := client.FetchWarrantyInfo("hostname", "asset-tag")

	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(dellReturn)
	}
}

About

This Library supports fetching Dell Tech Direct API Warranty Information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages