Auth

<<

- NAME
- FUNCTIONS
- AUTHOR
- COPYRIGHT

# NAME

Auth

# FUNCTIONS

new($api)

  Create a new object for accessing Auth API

  Parameters

  $api

          API object

get_by_team_full

          Generate Time Reports for a Specific Team (with financial info)

  Parameters

  $company

          Company

  $team

          Team

  Return value

          JSON response as a string

get_by_team_limited

          Generate Time Reports for a Specific Team (hide financial info)

  Parameters

  $company

          Company

  $team

          Team

  Return value

          JSON response as a string

get_by_agency

          Generating Agency Specific Reports

  Parameters

  $company

          Company

  $agency

          Agency

  Return value

          JSON response as a string

get_by_company

          Generating Company Wide Reports

  Parameters

  $company

          Company

  Return value

          JSON response as a string

get_by_freelancer_limited

          Generating Freelancer's Specific Reports (hide financial info)

  Parameters

  $freelancer_id

          Freelancer ID

  Return value

          JSON response as a string

get_by_freelancer_full

          Generating Freelancer's Specific Reports (with financial info)

  Parameters

  $freelancer_id

          Freelancer ID

  Return value

          JSON response as a string

get_by_type

          Get by type

  Parameters

  $company

          Company

  $team

          Team

  $agency

          Agency

  $hide_fin_data

          Hide financial data flag

  $params

          Hash of parameters

  Return value

          String

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2015

<<