IonelScutelnicu / google-sheets-tradeville-api

Google Sheets integration with TradeVille API using app script.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Sheets integration with TradeVille API using app script.

Description

Provides an easy way to connect to the TradeVille API and download the "Portfolio" and "Activity" to a Google Sheet.

Usage

Start from an example

  • Open the google sheet example, and make a copy to your google account.
  • Use the "TradeVile" menu to open the "TradeVille API" sidebar.
  • Login to your account, then choose the option you like.
    • Uncheck the "Demo account" option for real accounts.

Add to an existing Google Sheet

  • Add the TradeVillePage.html and TradeVille.gs to the App Scripts (see)
  • After the page refresh the "TradeVille" menu will be visible.
  • Use the "TradeVile" menu to open the "TradeVille API" sidebar.
  • Login to your account, then choose the option you like.
  • The app expects 2 sheets "TradeVillePortfolio" and "TradeVilleActivity" to be present in your Google Sheets for the download to work.

Testing

Trandeville API provides the following credentials (please check the "Demo account" checkbox) for testing:

  • Username: !DemoAPITDV
  • Password: DemoAPITDV

Notice

⚠️ Each download will overwrite the existing data in the TradeVillePortfolio and TradeVilleActivity sheets, so please use it as a data source sheet, and don't modify it.

Security concerns

  • No external libraries are used (except one Google font).
  • This app communicates directly with the TraveVille API, no proxies or other third parties are used.
  • TraveVille API allows only reporting actions (see).
  • Please activate the 2-step authentification on your TradeVille account, if this is not the case yet.

Resources

About

Google Sheets integration with TradeVille API using app script.

License:MIT License


Languages

Language:HTML 77.6%Language:JavaScript 22.4%