ReMarkableAPI icon indicating copy to clipboard operation
ReMarkableAPI copied to clipboard

change User agent

Open Klap-in opened this issue 6 years ago • 2 comments

According to https://github.com/juruen/rmapi/issues/23#issuecomment-425832548 you may now provide your own user agent string.

I guess it is about this... https://github.com/splitbrain/ReMarkableAPI/blob/5eafff7a50981d59d0f5a05712b11e210842210c/src/RemarkableAPI.php#L69

Klap-in avatar Oct 24 '18 19:10 Klap-in

Hmm from what I understand, @oyvindsk suggests to use the HTTP user agent to supplement what we provide in the deviceDesc. So basically he's saying please continue to lie, but we will use the User-Agent to see that you're lying for our statistics. We're currently not setting any specific HTTP user agent so it will probably identify as Guzzle? PR welcome.

splitbrain avatar Oct 24 '18 19:10 splitbrain

Ah, makes sense.

Klap-in avatar Oct 24 '18 20:10 Klap-in