je viens de découvrir une mine d'or : la documentation de l'API de la Freebox Revolution V6 (version 2.0.x)
http://dev.freebox.fr/sdk/os/#api-list
Evidemment, j'ai rapidement imaginé l'utiliser et... si on est logué sur la freebox, l'url suivante donne une liste des appels téléphoniques :
http://mafreebox.freebox.fr/api/v1/call/log/
Code : Tout sélectionner
{"success":true,"result":[{"number":"0475324108","type":"outgoing","id":357,"duration":56,"datetime":1378396127,"contact_id":0,"line_id":0,"name":"0475324108","new":false},
...
]
The password computed using the challenge and the app_token
To compute the password you have to compute the hmac-sha1 of the challenge and the app_token
password = hmac-sha1(app_token, challenge)