Giter Site home page Giter Site logo

find-my-iphone's Introduction

Find-my-iphone

Link icloud, spreadsheet, and mapbox, and record iphone's location information & history in spreadsheet.

sample

PREPARE

git clone [email protected]:makobouzu/Find-my-iphone.git
cd find-my-iphone
npm install
touch .env

.env file include

  • PORT
  • APPLE_ID
  • PASSWORD
  • SPREADSHEET_ID
    • https://docs.google.com/spreadsheets/d/XXXXXXXXXXXXXXXXXXXXXXXXXXX/edit#gid=0 -> SPREADSHEET_ID="XXXXXXXXXXXXXXXXXXXXXXXXXXX"
  • SHIFT_WORKSHEET_ID
    • https://docs.google.com/spreadsheets/d/XXXXXXXXXXXXXXXXXXXXXXXXXXX/edit#gid=0 -> SHIFT_WORKSHEET_ID="0"

Enable Google Spreadsheet API

Go to Google Cloud Platform -> Create new Project -> Go to "APIとサービス" -> Click "APIとサービスの有効化" -> Enable Google Sheets API

Click "認証情報を作成" -> 使用するAPI=Google Sheets API & アクセスするデータの種類=アプリケーションデータ(いいえ、使用しません) -> Write service account(ロール=編集者) -> "完了"

Click "[email protected]" in サービスアカウント -> Click "鍵を追加(新しい鍵を作成)" in キー -> Download json -> rename credentials.json & mv ./routes

Share E-mail(client_email: [email protected] in credentials.json) in Spreadsheet settings -> 編集者

Create Mapbox Access Token

Sign in mapbox -> Copy default public token -> Paste mapboxgl.accessToken in index.js:4

RUN

cd find-my-iphone
npm run devStart

REFERENCE

find-my-iphone's People

Contributors

makobouzu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.