Coder Social home page Coder Social logo

securisec / mixto-lite Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 247 KB

Lightweight language bindings without external dependencies to build integrations

License: GNU General Public License v3.0

Go 15.02% TypeScript 23.90% Python 36.46% Java 24.61%

mixto-lite's Introduction

mixto-lite

Lightweight language bindings without external dependencies to build integrations

The idea is to offer a subset of the Mixto API to make integration development easy and without any external dependencies.

Supported languages

  • Python 2 and 3
  • Typescript Node
  • Javascript browser
  • Go

Environment variables

  • MIXTO_HOST The host url for Mixto. Avoid using / at the end of the URL
  • MIXTO_API_KEY The api key for mixto
  • MIXTO_ENTRY_ID The entry id to interact and post data to

Usage

All of the sdks needs three variables, the mixto host, mixto api key and entry id. If a constructor is initialized, that gets precedence. Otherwise the sdks also look for three environment variables before falling back to reading the config file. If envars are not present, or constructor options are not passed, then it will always try to read the ~/.mixto.json file (platform agnostic).

Where possible, the lite sdk offers a MixtoLite class (depends on the language) with the following three methods:

  • MakeRequest Generic request builder for mixto
  • AddCommit Used to add commits to a Mixto entry
  • GetEntryIDs Get entry IDs for a specific workspace. If workspace is not specified, this method may return an entry array.
  • GetWorkspaces Used to get all workspaces, entries and commits
    • Provides workspace, entry_id, commit_id etc

mixto-lite's People

Contributors

securisec avatar securisecctf avatar

Watchers

 avatar  avatar  avatar

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.