New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

goflink-client

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goflink-client

TypeScript NPM Module Boilerplate

latest
npmnpm
Version
0.1.5
Version published
Weekly downloads
10
25%
Maintainers
1
Weekly downloads
 
Created
Source

:package: ts-npm-package-boilerplate

Inoffical Typescript SDK for interacting with Flink API

Getting started

This is a TypeScript SDK for communicating with Flink API. The API is not offical and was reverse engineered. Currently only the endpoints for creating new users are implemented, as these are the most critical ones.

Heads up

You need a unique phone number for each account you want to create.

Installation

yarn add goflink-client

Example

import { FlinkClient } from "./FlinkClient"

(async () => {
    try {
        const flinkClient = new FlinkClient()
        const token = await flinkClient.getMeService().createAccount(
            { email: 'emailAddress', first_name: 'noway', last_name: 'thatworked', password: 'securePassword' }
        )
        if(token) {
            const status = await flinkClient.getMeService().getStatus()
            console.log('status', status)
        }
    } catch (e) {
        console.log('e', e)
    }
    
})()

Documentation

For Documentation I can only provide an OpenAPI schema. You can check it out by going to Swagger UI and putting in the link to the schema.yaml

🤝 Contributing

Contributions, issues and feature requests are welcome!
Especially extending the OpenAPI Schema.

📝 License

This project is MIT licensed.

Keywords

boilerplate

FAQs

Package last updated on 26 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts