This simple command-line tool makes it easy to get a copy of your complete location history OUT of Moves App and to store it safely in json. Executes mostly from command line, with one browser OAuth handshake at the beginning to get an access token.
- nodejs (including npm)
- moves app
- Clone this respository
- Install node.js on your platform
- Run
npm install
- Create a new app on dev.moves-app.com
- Set the redirect URL of your app to be
http://localhost:8001/moves
Note that this port has to be free because your browser will redirect to this URL. - Locate the Client ID and Client Secret in the Development tab of your app, and copy these into a local text file
- Run:
./get_token.js --cid [your clientid] --csecret [your csecret] > tokens.json
This will output a URL. Open a browser to that URL and follow the instructions. When this terminates, proceed. - Run:
./get_data.js --tokens [path_to_tokens_json] > data.json
- Enjoy!! =)
- RDF Output
- Refresh token renewal
- Better error handling and documentation
(c) - Max Van Kleek max@hip.cat for friends at the W3C.
MIT License. Party as you like! But Don't blame me if stuff happens.