Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godaw

Authorization

godaw module uses OAuth 2.0 bearer authentication to access DELL Warranty API.

User should retrieve its id and secret from TechDirect API portal - https://techdirect.dell.com/portal.30/Login.aspx

NewOAuth2Client is a function that returns an authorized client for DELL API use. It needs two parameters:

  • clientID
  • clientSecret

Operations

godaw module implements :

  • Asset header with client method getAssetHeader
  • Asset warranty with client method getAssetEntitlements
  • Asset details with client method getAssetComponents

CLI godaw

To get its bearer token, the CLI uses two operating system variables :

  • DAW_API_CLIENT_ID
  • DAW_API_CLIENT_SECRET

About

godaw is a golang module to get information from DELL API warranty

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages