Code Monkey home page Code Monkey logo

sched2openfeedback's Introduction

sched2openfeedback

Import data from Sched and export a JSON file in OpenFeedback format.

Snowcamp team guide

How to prepare for a new edition:

  1. Set or update Actions secrets (if needed)
  • SCHED_KEY_RO: read-only key for sched event. Can be found at https://snowcamp.sched.com/editor/exports/api
  • GITHUB_TOKEN: a GitHub PAT with repository scope from someone with access to this repo
  1. Update SCHED_URL and BRANCH in export.yml

  2. Go to export action and select Run workflow to update the data

  3. You can now use the URL https://raw.githubusercontent.com/snowcamp/sched2openfeedback/<BRANCH>/openfeedback.json to import data in OpenFeedback.

Development

If the script needs to be updated, you can run it locally. Clone the repo, then:

npm install
npm run build
npm start

A file openfeedback.json will be created, to be imported in OpenFeedback.

You need to specify these 2 environment variables, either in your shell or in a .env file at the root of the project:

SCHED_URL=https://<you_event>.sched.com/
SCHED_RO_KEY=<your_sched_readonly_key>

You can also use the npm run build:watch command to automatically rebuild the script when a file is changed.

Sched format update

If the Sched format was updated you can dump direction the raw data from Sched by running:

npm run start:sched

It will create a file sched.json with the raw data.

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.