Skip to content

Instantly share code, notes, and snippets.

View robertjoodat's full-sized avatar
🌴
On vacation

Robert Joodat robertjoodat

🌴
On vacation
View GitHub Profile
@robertjoodat
robertjoodat / dell_warranty.py
Last active November 21, 2022 09:57 — forked from teroka/dell_warranty.py
Dell API: Warranty Information
#!/usr/bin/env python
# Quick script to check your Dell asset's warranty status
# Just drop your service tag as parameters for the script and go.
import sys
import requests
APIKEY = 'd676cf6e1e0ceb8fd14e8cb69acd812d'
URL = 'https://api.dell.com/support/v2/assetinfo/warranty/tags.json?svctags={0}&apikey=' + APIKEY
@teroka
teroka / dell_warranty.py
Created November 8, 2014 19:38
Dell API: Warranty Information
#!/usr/bin/env python
# Quick script to check your Dell asset's warranty status
# Just drop your service tag as parameters for the script and go.
import sys
import requests
APIKEY = 'd676cf6e1e0ceb8fd14e8cb69acd812d'
URL = 'https://api.dell.com/support/v2/assetinfo/warranty/tags.json?svctags={0}&apikey=' + APIKEY