Skip to content

This project is to get stock prices from robinhood account and note them in notion database.

Notifications You must be signed in to change notification settings

shivaAcharya/robiNotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robiNotion

This program is to get stock info (ticker, no. of shares, current price) from robinhood account and note them in notion database.

Usage

1. Go to loginInfo.py and add your username, password and MFA code from robinhood account
2. Go to pyTion.py and add your tokenV2 from browser cookies and link to the database you want to add
3. Execute pyTion.py file and observe the Notion database
4. Optional - Execute loginInfo.py if you need OTP for Robinhood Account.

Steps to Project

  1. Get dictionary with token as key and stock price as value from robinhood.py
  2. Login to notion using token and link to database
  3. Write stock information in the database

Issues I Ran Into

  1. HTTPError - Invalid input

    1. Cause - Notion API has changed and large limit gets 404 error
    2. Solution - Change limit from 10,000 to 100 in client.py and store.py https://stackoverflow.com/a/66546826/17346473
  2. get_collection_view method leads to HTTPError - Invalid input

    1. Cause - Some error in source code or Notion API
    2. Solution - Need to use venv with merger of pr #352 jamalex/notion-py#352

ToDO

  • Figure out table view and update specific cell
  • Work with pages and gmail notes
  • ......

My Website

https://shiva-acharya.super.site/projects/robinotion

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LICEcap for Windows

Inspired From:

About

This project is to get stock prices from robinhood account and note them in notion database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages