Ajouter et implémenter PresencesGET
This commit is contained in:
parent
75b0819ae4
commit
29b4d0da31
4 changed files with 47 additions and 1 deletions
|
@ -20,3 +20,7 @@ func (a *APIClient) Scan(membreID string) (response apiresponse.ScanPOST, err er
|
|||
func (a *APIClient) GetDecompte() (response apiresponse.DecompteGET, err error) {
|
||||
return response, a.Voki.Unmarshal(http.MethodGet, "/v0/decompte", nil, true, &response)
|
||||
}
|
||||
|
||||
func (a *APIClient) GetPresences() (response apiresponse.PresencesGET, err error) {
|
||||
return response, a.Voki.Unmarshal(http.MethodGet, "/v0/presences", nil, true, &response)
|
||||
}
|
||||
|
|
Reference in a new issue