Skip to content

Commit

Permalink
doc(badge) Add go ref and Github action badges
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre PÉRONNET <[email protected]>
  • Loading branch information
holyhope committed Feb 7, 2024
1 parent 7a4de2c commit baffd8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

This repository contains the Go SDK for the [Digiposte](https://digiposte.fr) API.

![Continuous Integration](https://github.com/holyhope/digiposte-go-sdk/actions/workflows/test.yml/badge.svg)
[![Go Reference](https://pkg.go.dev/badge/github.com/holyhope/digiposte-go-sdk.svg)](https://pkg.go.dev/github.com/holyhope/digiposte-go-sdk)

It is a work in progress, and all the API endpoints are not implemented yet.

## Authentication

The sdk delegates the authentication to the http client. So it must be configured to add the authentication headers to the requests.

Otherwise, the [`login`](login/) package provides a simple way to authenticate and get the access token but it uses chromium to simulate a browser and is not recommended for production.

0 comments on commit baffd8d

Please sign in to comment.