{"id":20112761,"url":"https://github.com/joshbello/notion-asset-tracker","last_synced_at":"2026-04-19T05:33:20.662Z","repository":{"id":258202749,"uuid":"266547369","full_name":"JoshBello/Notion-Asset-Tracker","owner":"JoshBello","description":"Using Python and GCP Cloud Functions to Tracker Assets on Notion","archived":false,"fork":false,"pushed_at":"2020-05-27T07:59:57.000Z","size":4793,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T06:07:04.317Z","etag":null,"topics":["api","cloud-functions","gcp","gcp-cloud-functions","notion","notion-database","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoshBello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-24T13:32:23.000Z","updated_at":"2023-12-30T01:23:38.000Z","dependencies_parsed_at":"2024-10-18T07:17:31.251Z","dependency_job_id":null,"html_url":"https://github.com/JoshBello/Notion-Asset-Tracker","commit_stats":null,"previous_names":["joshbello/notion-asset-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBello%2FNotion-Asset-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBello%2FNotion-Asset-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBello%2FNotion-Asset-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBello%2FNotion-Asset-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshBello","download_url":"https://codeload.github.com/JoshBello/Notion-Asset-Tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241557116,"owners_count":19981877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cloud-functions","gcp","gcp-cloud-functions","notion","notion-database","python"],"created_at":"2024-11-13T18:22:14.356Z","updated_at":"2025-10-17T22:49:29.742Z","avatar_url":"https://github.com/JoshBello.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Notion Based Portfolio Tracker \n### Using Python,  Cloud Functions,  Pub/Sub and Cloud Scheduler \n\n![](notion.table.gif)\n\n## Background:\n\nAfter recently switching from Trello to Notion as my primary productivity tool, I wanted to see what was possible with Notion's API. A basic portfolio tracker seemed like a good start. \n\nThis project uses `notion-py` which is an unofficial Python client for Notions API. For the current asset values, I'm using `yfinance` which allows easy access to data from Yahoo Finance. One thing to note with this is that the ticker values used have to correspond with values on the platform. \n\n## Google Cloud Platform Architecture:\n\n\u003cimg src=\"flow.png\" width=\"80%\"\u003e\n\n## Getting Started: \n\n### Prerequisites:\n\n```\nnotion == 0.0.25\nyfinance == 0.1.54\nforex_python == 1.5\n```\n\n## 1. Updating Variables: \n\nThe following variabels require updating:\n\n```\ntoken_v2 =\npage_url =\ntable_url =\n```\n\n## 2. Setting up Cloud Functions and Pub/Sub:\n\n* Trigger - choose Pub/Sub and either create a new or use an exiting topic.\n* Either upload or copy/paste the main.py and requrements.txt file.\n* Set the function to execute as 'run'.\n* The function can be tested using 'Test function' option under the actions menu once deployed.\n\n\u003cimg src=\"cloud-functions.gif\" width=\"60%\"\u003e\n\n## 3. Setting up Cloud Scheduler: \n\n* Set the target to the Pub/Sub topic.\n\n\u003cimg src=\"scheduler.gif\" width=\"60%\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbello%2Fnotion-asset-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshbello%2Fnotion-asset-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbello%2Fnotion-asset-tracker/lists"}