Coder Social home page Coder Social logo

dlurak / dloolsdk-v1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 176 KB

A typescript SDK for the Dlool REST-API. It doesn’t work and was created for the first version of Dlool which is deprecated!

Home Page: https://www.npmjs.com/package/dlool-sdk

TypeScript 100.00%
homework javascript school sdk typescript dlool

dloolsdk-v1's Introduction

Dlool

A digital and colloborative homework book

What is Dlool?

Dlool is the digital version of a homework book. And it is collaborative. Classical homework books have a lot of problems, also a lot of people use tablets in school and don't have any folders but still an analog homework book. With Dlool there is a good solution to this problem. There are even more problems here is a table with some problems:

Problem Solution
Everyone in a class writes down the same Dlool is collaborative, all entries from one class are available for everyone
They are not very good for the environment Dlool is digital, no paper is needed.
They are not very practical Dlool is available on all devices.
Entries are not very structured Dlool has a structured entry system.
When you lose your homework book Dlool is digital, you can't lose it.
Every year you need a new homework book Dlool can be used for multiple years.
You are locked into a specific brand Dlool is free and open source. With dlool you can export your data to ical or todo.txt.
Homework, tests and notes are not separate Dlool has a different system for homework, tests and notes. Everything is sperated but still in one place and easy to find.

SDK

This is the new Dlool SDK for JavaScript and TypeScript. As it is still very early you may encounter some bugs, not all features are implemented and the documentation is not complete. If you find a bug or have a feature request please open an issue. Also note that the SDK isn't stable yet and may change in the future.

Usage

  1. Install the SDK with npm install dlool-sdk or yarn add dlool-sdk
  2. Import the SDK with import { Dlool } from "dlool-sdk";
  3. Create a new Dlool instance like this:
    const dlool = new Dlool();

Documentation

Some parts of the documentation are already available. You can find them on the GitHub Wiki.

Contributing

Feel free to open PR - it doesn't matter if it's a bug fix, a new feature or just a typo.

  1. Fork the repository
  2. Clone the forked repository
  3. Install the dependencies with pnpm i
  4. Make your changes and write tests for them
  5. Test your changes with pnpm test and pnpm lint
  6. Create a pull request

dloolsdk-v1's People

Contributors

dlurak avatar dependabot[bot] avatar

Stargazers

David avatar

Watchers

 avatar

dloolsdk-v1's Issues

API-Endpoints Progress

Here I will keep track of which API endpoints are already implemented/documented:

Auth

Endpoint Implemented Documented
login ✔️
delete
register
update
info about any user
info about current user

Classes

Endpoint Implemented Documented
create
get classes from school
get unique class

Events

Endpoint Implemented Documented
create
get

Homework

Endpoint Implemented Documented
create ✔️
get paged ✔️ ✔️
get all ✔️ ✔️
delete ✔️
update ✔️

Notes

Endpoint Implemented Documented
create
delete
update
get

Moderation/Requests

Endpoint Implemented Documented
get list
get specific
process

School

Endpoint Implemented Documented
create
get list
get specific

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.