Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhatthm/n26prompt
Prompt Credentials Provider for N26 API Client
https://github.com/nhatthm/n26prompt
cli go golang n26 n26api
Last synced: 9 days ago
JSON representation
Prompt Credentials Provider for N26 API Client
- Host: GitHub
- URL: https://github.com/nhatthm/n26prompt
- Owner: nhatthm
- License: mit
- Created: 2021-04-08T11:50:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-21T08:00:47.000Z (10 months ago)
- Last Synced: 2024-10-09T10:20:12.796Z (30 days ago)
- Topics: cli, go, golang, n26, n26api
- Language: Go
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prompt Credentials Provider for N26 API Client
[![GitHub Releases](https://img.shields.io/github/v/release/nhatthm/n26prompt)](https://github.com/nhatthm/n26prompt/releases/latest)
[![Build Status](https://github.com/nhatthm/n26prompt/actions/workflows/test.yaml/badge.svg)](https://github.com/nhatthm/n26prompt/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/nhatthm/n26prompt/branch/master/graph/badge.svg?token=eTdAgDE2vR)](https://codecov.io/gh/nhatthm/n26prompt)
[![Go Report Card](https://goreportcard.com/badge/github.com/nhatthm/httpmock)](https://goreportcard.com/report/github.com/nhatthm/httpmock)
[![GoDevDoc](https://img.shields.io/badge/dev-doc-00ADD8?logo=go)](https://pkg.go.dev/github.com/nhatthm/n26prompt)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=PJZSGJN57TDJY)`n26prompt` uses [AlecAivazis/survey](https://github.com/AlecAivazis/survey) to get credentials from the prompt.
## Prerequisites
- `Go >= 1.17`
## Install
```bash
go get github.com/nhatthm/n26prompt
```## Usage
**Examples**
```go
package mypackageimport (
"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](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=PJZSGJN57TDJY)
or scan this