adpexpert

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2022 License: MIT Imports: 8 Imported by: 1

README

ADP Expert SDK

Unnofficial

What is ADP Expert?

It's an HR software used by the company I work for.

Features

  • Login
  • Punch In
  • List last Punches

Roadmap

Nothing is planned

Usage

Check the example in cmd/demo.

Documentation

Index

Constants

View Source
const (
	DefaultBaseURL = "https://expert.brasil.adp.com/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Debug    bool
	BaseURL  string
	LoginURL string
	// contains filtered or unexported fields
}

func (*Client) Clear

func (c *Client) Clear()

func (*Client) GetLastPunches

func (c *Client) GetLastPunches() (*LastPunchesInfo, error)

func (*Client) Login

func (c *Client) Login(username, password string) error

func (*Client) PunchIn

func (c *Client) PunchIn() error

type LastPunchesInfo

type LastPunchesInfo models.PunchesResponse

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL