Coder Social home page Coder Social logo

duolingo-notion-sync's Introduction

Synchronise Duolingo to Notion

Send progress of Duolingo course to a Notion database.

Introduction

I made this script to send the data from my Duolingo account to a Notion page (Chinese courses).

This script does:

  • Fetch Duolingo data for your account (Chinese simplified course)
  • Get dictionary pinyin,usages,exemples for each vocabulary word
  • Push those data properly formatted in a Notion database

Main page

Grouped by category page

Please find the Notion template here

Common setup

Clone the repo and install the dependencies. NodeJS and Python3 (with pip) must be installed.

git clone [email protected]:loicpirez/Duolingo-Notion-Sync.git
pip3 install duolingo-api dotenv 
npm install

Environment

Environment must contain those variables. You can add them in the .env files. (see .env.sample)

Name Description
DUOLINGO_USERNAME Duolingo username.
DUOLINGO_PASSWORD Duolingo password.
NOTION_TOKEN API token of your Notion integration.
NOTION_DATABASE_TITLE Title of your Notion database.
NOTION_DATABASE_ID ID of your Notion database.
NOTION_PAGE_ID ID of your Notion page.

Running

npm run start

duolingo-notion-sync's People

Contributors

loicpirez avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

voltash2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.