Forum: Pentax K-S1 & K-S2
06-30-2015, 11:22 PM
|
|
first, how about a collective effort?
there are some nice tools out there, like https://apiary.io/
a shared project there could become the best api documentation.
and for second
i'm not too sure i'll find the time, but - as the program could be just a fancy gui for camera api,
could i (or anyone else, i can give some pointers to start) develop a browser-based version?
it could be an independent project, but i see no point in that, both versions could share interface design
and i would probably end up reading your source as an api documentation anyway.
with jquery it should be an easy job....
also, i might end up writing something for 'duino, not arduino, but for quite compatible pinguino by olimex,
it has somewhat cheaper wifi options and is more powerful and a bit more hackerish too.
i need to prove that it's quite possible to build functional grip for k-s2.
|
Forum: Pentax K-S1 & K-S2
06-22-2015, 02:35 PM
|
|
i'm not the only one to hack the web api - cool :D
actually i started by trying both various request using a api tool (postman for chrome) and reverse engineering the app & porting it to ordinary browser.
i got to the live view in vrowser and taking photos, also i did get the filer from camera. a bit slow, but worked...
thank you all for sharing, i'll read it all very carefully and see, if i can add anything.
btw, for those interested - everything related to accessing and controlling the camera was in js files in the app, so it was quite readable. ---------- Post added 06-22-15 at 02:41 PM ----------
i need to check my code, but i got liveview by defining
if someone would want to continue writing the universal app for web, mainly js+jquery,
i could share everything i have manage to get working.
my main interest is to prove that i could build a usabel battery grip with functional buttons,
all that i'm missing is proper api documentation.
i did try to actually read through firmware update file, but lacking a proper dissasembly program,
i found just some urls i already knew
|