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
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)
}
})()
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
Contributions, issues and feature requests are welcome!
Especially extending the OpenAPI Schema.
This project is MIT licensed.