Skip to content

Instantly share code, notes, and snippets.

View grhervas's full-sized avatar

grhervas

View GitHub Profile
@grhervas
grhervas / read_notion_data_powerBI.py
Created July 9, 2022 11:08
Python script to get Notion data using its API into Power BI.
import requests
import json
import pandas as pd
import locale
import numpy
# Use it to get correct date time format according to your time zone
# (Spain in this case)
locale.setlocale(locale.LC_TIME, 'es_ES.utf8')