Net::Upwork::API

<<

- NAME
- FUNCTIONS
- LICENSE
- AUTHOR
- COPYRIGHT

# NAME

Net::Upwork::API - Perl bindings for Upwork API (OAuth2).

# FUNCTIONS

new($config)

  Create a new Config

  Parameters

  $config

          Config object

init_router

          Initialize router

  Parameters

  $class

          Class

  $api

          API object

  $epoint

          Entry point for the router

  Return value

          Object

get_access_token()

          Get access token key/secret pair

  Parameters

  $code

          Authorization Code, see https://tools.ietf.org/html/rfc6749.html#section-1.3.1

  Return value

          Net::OAuth2::AccessToken object

get_authorization_url()

          Get Authorization Url and request token

  Return value

          A string for authorization in the browser

has_access_token()

          Check if access token has been already received

  Return value

          Boolean

set_access_token_session()

          Sets the AccessToken session based on the provided config

  Return value

          Net::OAuth2::AccessToken object

client()

          Get client object

  Return value

          Object

# LICENSE

This is released under the Apache Version 2.0 License. See https://www.apache.org/licenses/LICENSE-2.0.

# AUTHOR

Maksym Novozhylov `<mnovozhilov@upwork.com>`

# COPYRIGHT

Copyright © Upwork Global Corp., 2018

<<