nhatthm / n26prompt

Prompt Credentials Provider for N26 API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prompt Credentials Provider for N26 API Client

GitHub Releases Build Status codecov Go Report Card GoDevDoc Donate

n26prompt uses AlecAivazis/survey to get credentials from the prompt.

Prerequisites

  • Go >= 1.17

Install

go get github.com/nhatthm/n26prompt

Usage

Examples

package mypackage

import (
	"github.com/nhatthm/n26api"
	"github.com/nhatthm/n26prompt/credentials"
)

func buildClient() (*n26api.Client, error) {
	c := n26api.NewClient(
		credentials.WithCredentialsAtLast(),
	)

	return c, nil
}

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

Paypal donation

paypal

       or scan this

About

Prompt Credentials Provider for N26 API Client

License:MIT License


Languages

Language:Go 90.0%Language:Makefile 10.0%