Giter Site home page Giter Site logo

iot-google-sheets-data-analysis-on-jupyter-notebook's Introduction

IoT - Google Sheets Data Analysis on Jupyter Notebook

  1. Open https://console.developers.google.com/

  2. Login using your gmail account

  3. Click on drop down as shown in following image

alt text

  1. A pop up will open. On the top right of pop up, click on "New Project"

alt text

  1. Give a project name as shown in the image and click "Create"

alt text

  1. Browser will automatically take you back to the next screen. Choose your project from the drop down at the top. And click on "Enable APIS and Services".

alt text

  1. Search for "Google Sheets API" and click on it. Browser will take you to next screen.

alt text

  1. Click on "Enable API"

alt text

  1. Browser will take you back to the next screen. Click on "Credentials" from the left menu.

alt text

  1. On the next screen, Click on "Create Credentials" from the top menu and then "Service Account".

alt text

  1. Give a name to the "Service Account". Click "Create".

alt text

  1. Click "Select a role" -> "Service accounts" -> "Service account user".

alt text

  1. Click "Continue".

alt text

  1. Click "Done".

alt text

  1. Note down the "Email" value and then "Click" on the email value. We will use the email value later. Don't worry if you don't note it. you can always copy it later.

alt text

  1. Click "Add Key" -> "Create new key".

alt text

  1. Create a json key for your Service Account.

alt text

  1. A private key is downloaded to your computer. Upload it to your Jupyter Environment/ save it in the same folder where your notebook is.

alt text

  1. Click on Save at the bottom. Then click on "Back" button at the top.

alt text

  1. Go to Google Drive and make a spreadsheet. Create 2 columns, "Temperature" and "Humidity". Fill your data.

  2. Get your spread sheet id

alt text

  1. Click on "File" -> "Share" and share it with your service account email

alt text

alt text

  1. Make following changes in your code and execute your code.

alt text

Hope you enjoyed this project !

As an optional steps, you can do following to update your Google Sheet data regularly using Raspberry Pi / ESP82266 and DHT22 Sensor

iot-google-sheets-data-analysis-on-jupyter-notebook's People

Contributors

dimpscapri avatar grobo021 avatar jatindera avatar

Watchers

 avatar

Forkers

itrauco

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.