Node.JS bindings for Upwork API (OAuth2)
IntroductionThis project provides a set of resources of Upwork API from http://developers.upwork.com based on OAuth 2.0.
FeaturesThese are the supported API resources:
- My Info
- Custom Payments
- Job and Freelancer Profile
- Search Jobs and Freelancers
- Time and Financial Reporting
- Work Diary
LicenseCopyright 2018 Upwork Corporation. All Rights Reserved.
node-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
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.
Application IntegrationTo integrate this library you need to have:
- Node.JS >= 4
- npm >= 3.5.0
ExampleIn addition to this, a full example is available in the
exampledirectory. This includes
example.jsthat gets an access token and requests the data for applications that are not web-based. It also describes how to use your own client together with this Upwork library.
InstallationTo install the library please run the following command:
$ npm install @upwork/node-upwork-oauth2
Quick startBefore you start using Upwork API, you will need to obtain your pair of API keys. Visit the
Upwork API documentation Center <https://developers.upwork.com/#authentication_oauth-20>for full details.
myapp.jsand type the clientId (a.k.a. consumer key), clientSecret (a.k.a. client secret) and
redirectUrithat you previously got from the API Center.
That's all. Run your app as
node myapp.jsand have fun.