GithubHelp home page GithubHelp logo

joekarlsson / google_sheets_tinybird_demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 494 KB

Demo project for sending data from Google Sheets to Tinybird

License: Apache License 2.0

JavaScript 100.00%
google sheets tinybird

google_sheets_tinybird_demo's Introduction

Google Sheets to Tinybird Integration

This project enables seamless integration between Google Sheets and Tinybird, allowing users to send data directly from Sheets to Tinybird's API. By automating data transfer, users can efficiently manage data workflows, analyze information, and create real-time data pipelines. Why This Is Useful

  • Automated Data Transfer: Eliminate manual data entry by automatically sending data from Google Sheets to Tinybird.
  • Real-time Analysis: Enable real-time data analysis by connecting your Google Sheets with Tinybird's powerful analytics engine.
  • Flexible Workflows: Customize data structures and create different triggers according to your needs.
  • Ease of Use: Leverage Google Sheets as a familiar interface to manage and transfer your data.

Prerequisites

  • A Google Sheet containing the data you want to send to Tinybird.
  • Tinybird Account: You need to have an account with Tinybird to obtain an API token.

Instructions

1. Sign Up for Tinybird

Create a Tinybird account and follow their onboarding process to set up your environment.

2. Obtain Your Tinybird API Token

Go to your Tinybird dashboard to get your API token. This token will be used to authenticate your requests to Tinybird.

3. Open Your Google Sheet

Open the Google Sheet where you want to run the script.

4. Upload the sample data to your Google Sheet

In Google Sheets, import the sample data set of customer shopping trends by following these steps:

File > Import > Upload > Select a file from your device > Import data > Replace current sheet.

4. Access the Script Editor

Go to the menu bar at the top and click on Extensions > Apps Script. This will open the script editor in a new tab.

5. Write or Paste the Script

In the script editor, write or paste the script from code.gs and replace YOUR_API_TOKEN with the token you obtained from Tinybird.

6. Save the Script

Click the floppy disk icon or press Ctrl + S (or Cmd + S on a Mac) to save your script.

7. Run the Script

Click the play (triangle) button on the toolbar at the top. You might be prompted to grant permissions the first time you run the script.

8. Check for Errors or Logs

If there are any errors, they will appear in the "Execution log" tab at the bottom. You can also use Logger.log() statements in your code to log messages, viewable in the "Logs" tab (accessible from View > Logs).

Contributing

If you find any issues or have suggestions for improvements, please submit an issue or a pull request.

License

This code is available under the MIT license. See the LICENSE file for more details.

google_sheets_tinybird_demo's People

Contributors

joekarlsson avatar

Watchers

 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.