From: Petter Reinholdtsen Date: Wed, 6 Jun 2012 21:11:21 +0000 (+0000) Subject: Ny melding. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/370e99ebd7a6f15e36330d51d17b3a6ffb8294d9?hp=2bdbeedab9355ed8f9ea697c5a2b70c1a7640af2 Ny melding. --- diff --git a/blog/data/2012-06-06-hardware-support.txt b/blog/data/2012-06-06-hardware-support.txt new file mode 100644 index 0000000000..c8952ce903 --- /dev/null +++ b/blog/data/2012-06-06-hardware-support.txt @@ -0,0 +1,29 @@ +Title: Web service to look up HP and Dell computer hardware support status +Tags: english, nuug +Date: 2012-06-06 23:15 + +

A few days ago +I +reported how to get the support status out of Dell using an +unofficial and undocumented SOAP API, which I since have found out was +discovered +by Daniel De Marco in february. Combined with my web scraping +code for HP, Dell and IBM +from +2009, I got inspired and wrote +a +web service based on Scraperwiki to make it easy to look up the +support status and get a machine readable result back.

+ +

This is what it look like at the moment when asking for the JSON +output: + +

+% GET https://views.scraperwiki.com/run/computer-hardware-support-status/?format=json&vendor=Dell&servicetag=2v1xwn1
+supportstatus({"servicetag": "2v1xwn1", "warrantyend": "2013-11-24", "shipped": "2010-11-24", "scrapestamputc": "2012-06-06T20:26:56.965847", "scrapedurl": "http://143.166.84.118/services/assetservice.asmx?WSDL", "vendor": "Dell", "productid": ""})
+%
+
+ +

It currently support Dell and HP, and I am hoping for help to add +support for other vendors. The python source is available on +Scraperwiki and I welcome help with adding more features.