Giter Site home page Giter Site logo

mrjohndowe / find-my-iphone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makobouzu/find-my-iphone

0.0 0.0 0.0 482 KB

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

Shell 2.28% HTML 26.88% JavaScript 70.83%

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] (https://console.cloud.google.com/home)-> Create new Project-> Go to "APIs and Services"-> Click "Enable APIs and Services"-> Enable Google Sheets API

Click "Create Credentials"-> API to use = Google Sheets API & Data type to access = Application data (No, not used)-> Write service account (Role = Editor)-> "Done"

Click "[email protected]" in Service Account-> Click "Add Key (Create New Key)" in Key-> Download json-> rename credentials.json & mv ./routes

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

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 mrjohndowe 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.