Humaans (Humaans v0.3.0)
View SourceA HTTP client for the Humaans API.
Examples
# Create a client
client = Humaans.new(access_token: "some-access-token")
# Make API calls
{:ok, people} = Humaans.People.list(client)
{:ok, person} = Humaans.People.retrieve(client, "123")
Summary
Functions
Access the Bank Accounts API.
Access the Companies API.
Access the Compensation Types API.
Access the Compensations API.
Creates a new client with the given access token and optional parameters.
Access the People API.
Access the Timesheet Entries API.
Access the Timesheet Submissions API.
Functions
Access the Bank Accounts API.
Returns the module that contains functions for working with bank account resources.
Access the Companies API.
Returns the module that contains functions for working with company resources.
Access the Compensation Types API.
Returns the module that contains functions for working with compensation type resources.
Access the Compensations API.
Returns the module that contains functions for working with compensation resources.
Creates a new client with the given access token and optional parameters.
Options
:access_token
- The access token to use for authentication (required):base_url
- The base URL for API requests (defaults to https://app.humaans.io/api)
Examples
iex> client = Humaans.new(access_token: "some-access-token")
iex> is_map(client)
true
Access the People API.
Returns the module that contains functions for working with people resources.
Access the Timesheet Entries API.
Returns the module that contains functions for working with timesheet entry resources.
Access the Timesheet Submissions API.
Returns the module that contains functions for working with timesheet submission resources.