TypeScript NPM Module Boilerplate
npm install goflink-client
Inoffical Typescript SDK for interacting with Flink API
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.
You need a unique phone number for each account you want to create.
`````
yarn add goflink-client
`ts
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)
}
})()
``
Contributions, issues and feature requests are welcome!
Especially extending the OpenAPI Schema.
This project is MIT licensed.