View Single Post
Old 06-21-2016, 12:05 PM   #14
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
Thx tshering!
Created a web service to return available public profiles for a firmware, to be used by KSM or any other tool that wants.
Script get_info.php is called with mandatory parms fwid and revnum, and optionally userid.
It returns info in JSON format, with idfw and an array of profiles (idprofile and name), that are needed to call download.php to get final zip with patches.

Example:
Code:
http://pip.cat/khd/kobo/get_info.php?fwid=3.19.5761&revnum=0e028f3185&userid=3
returns 
{"idfw":"13","profiles":{"3":"Kobo Glo Hd","14":"Testing Kobo Glo Hd"}}

So, you can compose final zips:
http://pip.cat/khd/kobo/download.php?firmware=13&profile=3
http://pip.cat/khd/kobo/download.php?firmware=13&profile=14

Last edited by pipcat; 06-21-2016 at 12:08 PM. Reason: format Json
pipcat is offline   Reply With Quote