Skip to content

Prompt Credentials Provider for N26 API Client

License

Notifications You must be signed in to change notification settings

nhatthm/n26prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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