Closed JsChiSurf closed 3 years ago
Hello! sadly i've got the same problem :-( pwd and user is correct is it possible to fix this issue - would be very helpful - thx :-)
my error: Invoke-RestMethod: The remote name could not be resolved: 'prod.immedia-semi.com' In C: \ Users \ mike\ Desktop \ BlinkVideoDownloader.ps1: 58 characters: 13
+ CategoryInfo: NotSpecified: (:) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId: System.Net.WebException, Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invalid credentials provided. Please verify email and password. Press Enter to continue ...
This may help... It took me most of the day to find this solution for the BlinkVideoDownloader.ps1 that was updated to pass a token. Hope this helps...
https://github.com/nayrk/Blink/issues/4
M
I haven't had a chance to test and update the doc, etc - it looks like the changes are:
I haven't had a chance to test and update the doc, etc - it looks like the changes are:
- Initial login URL is now: "https://rest-prod.immedia-semi.com/api/v4/account/login"
- region is passed back in the response in addition to accountID and authToken. The region must be used in subsequent URLs server endpoint as: 'https://rest-' + region + '.immedia-semi.com'
I tried it and it works fine: login V4 succesfull thanks
Please can someone explain exactly what we need to do to get this working in layman's terms? Many Thanks :-)
curl -H "Host: prod.immedia-semi.com" -H "Content-Type: application/json" --data-binary '{ "password" : "your password", "client_specifier" : "iPhone 9.2 | 2.2 | 222", "email" : "your email" }' --compressed https://rest.prod.immedia-semi.com/api/v4/account/login
However I get an email from Blink with a 6 digit PIN code saying "This code expires 10 minutes from when it was sent. If the code is not entered, access to your account from the device will not be granted"
blinkVideoDownload.py has been updated with correct URLs and logic to work with current Blink API.
Not sure if anyone is still actively monitoring this repository. Looks like on 5/11/2020 that Blink modified their login process thus disabling to login using the method documented here. Not sure if anyone has had success in replicating the new flow.