Skip to content

Retrieves words from a Notion database, fetches their definition on Le Robert and updates the Notion db

Notifications You must be signed in to change notification settings

anacltd/robert-parr

Repository files navigation


  _____       _               _     _____
 |  __ \     | |             | |   |  __ \
 | |__) |___ | |__   ___ _ __| |_  | |__) |_ _ _ __ _ __
 |  _  // _ \| '_ \ / _ \ '__| __| |  ___/ _` | '__| '__|
 | | \ \ (_) | |_) |  __/ |  | |_  | |  | (_| | |  | |
 |_|  \_\___/|_.__/ \___|_|   \__| |_|   \__,_|_|  |_|



This repo contains a codebase that retrieves rows from a Notion database, retrieves the definition of a word when it is missing (using Le Robert dictionary) and updates the row with the relevant information.

DISCLAIMER: this codebase fits very specific needs (column names, text formatting...). (Also, the name? A reference to Pixar's movie The Incredibles)

💡 You'll need a credentials.conf file at the root of the repo with the hereunder information:

[notion]
secret=your notion app secret
db_id=the id of your database

And then you just need to tweak data.py a bit to make it reflects you actual Notion db.

About

Retrieves words from a Notion database, fetches their definition on Le Robert and updates the Notion db

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages