Skip to content

upwork/java-upwork-oauth2

Repository files navigation

JAVA bindings for Upwork API (OAuth2)

License GitHub release Build Status

Introduction

This project provides a set of resources of Upwork API from http://developers.upwork.com based on OAuth 2.0.

Features

These are the supported API resources:

  • My Info
  • Custom Payments
  • Hiring
  • Job and Freelancer Profile
  • Search Jobs and Freelancers
  • Organization
  • Messages
  • Time and Financial Reporting
  • Metadata
  • Snapshot
  • Team
  • Workd Diary
  • Activities

Support for Maven and others

Maven support is available via Maven Central Repository, e.g.

<dependency>
    <groupId>com.Upwork</groupId>
    <artifactId>api</artifactId>
    <version>2.0.0</version> <!-- update the version, the latest one is recommended -->
</dependency>

Please, check "Dependency Information" section at maven page for other systems (like Apache Buildr, Apache Ivy, Gradle, etc)

License

Copyright 2018 Upwork Corporation. All Rights Reserved.

java-upwork is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SLA

The usage of this API is ruled by the Terms of Use at:

https://developers.upwork.com/api-tos.html

Example

See the example directory. To quickly run the example from the command line:

cd example
make
make run

Make sure you've added and type the clientId (a.k.a. consumer key), clientSecret (a.k.a. consumer secret) and redirectUri to the example/upwork.properties.