Skip to content

upwork/golang-upwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO bindings for Upwork API (OAuth1)

License GitHub release Build status

Introduction

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

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

License

Copyright 2015 Upwork Corporation. All Rights Reserved.

perl-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

Application Integration

To integrate this library you need to have:

  • GO >= 1.2
  • github.com/mnovozhylov/oauth # forked from mrjones/oauth

Example

In addition to this, a full example is available in the example directory. This includes myapp.go that gets an access token and requests the data for applications that are not web-based applications.

Installation

Get go get -u github.com/upwork/golang-upwork/api

Open myapp.go and type the consumerKey and consumerSecret that you previously got from the API Center, or use config.json file to configure your application.

Compile using GO compilator. (for more details visit http://golang.org)

That's all. Run your app as myapp and have fun.