Skip to content

Commit bf47ad8

Browse files
committed
AtTask is now Workfront!
1 parent 735f5c2 commit bf47ad8

64 files changed

Lines changed: 811 additions & 228 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2015 AtTask
1+
Copyright 2015 Workfront
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

README.md

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
# attask-api
1+
# workfront-api
22
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![Apache v2 License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage][coveralls-image]][coveralls-url] [![Code Climate][code-climate-image]][code-climate-url]
33

4-
An AtTask API for the Node and Web
5-
6-
7-
## Status
8-
9-
This is currently work in progress. Package will be published to NPM registry once everything will be ready. Use source code at your own risk.
4+
A Workfront API for the Node and the Web
105

116

127
## Usage
@@ -15,11 +10,11 @@ This is currently work in progress. Package will be published to NPM registry on
1510

1611
Install as a dependency:
1712

18-
npm install --save attask-api
13+
npm install --save workfront-api
1914

20-
Then `require('attask-api')` in your code. For example:
15+
Then `require('workfront-api')` in your code. For example:
2116
```javascript
22-
var attask = require('attask-api'),
17+
var Workfront = require('workfront-api'),
2318
util = require('util');
2419

2520
/**
@@ -31,40 +26,40 @@ var attask = require('attask-api'),
3126
* ApiConstants: [Object]
3227
* }
3328
*/
34-
console.log(util.inspect(attask, {depth:0}));
29+
console.log(util.inspect(Workfront, {depth:0}));
3530
```
3631

3732
#### In a browser
3833

39-
This package uses [Browserify](http://browserify.org) to generate [dist/attask.min.js](dist/attask.min.js). Loading that script will create `window.AtTask` object which will contain all the classes and methods just as in the server-side environment (see [Server-side](#server-side) section).
40-
This package makes use of [Promises](https://www.promisejs.org). Promises are not currently supported by all browsers (see [kangax compatibility tables](http://kangax.github.io/compat-table/es6/#Promise) but there are many polyfills available, including one listed in [www.promisejs.org](https://www.promisejs.org). Load polyfill before `attask.min.js` and everything will work just fine.
41-
Although the lack of CORS support may prevent you from sending request to AtTask servers, there are some usage examples in [examples/browser](examples/browser) folder to give you an idea.
34+
This package uses [Browserify](http://browserify.org) to generate [dist/workfront.min.js](dist/workfront.min.js). Loading that script will create `window.Workfront` object which will contain all the classes and methods just as in the server-side environment (see [Server-side](#server-side) section).
35+
This package makes use of [Promises](https://www.promisejs.org). Promises are not currently supported by all browsers (see [kangax compatibility tables](http://kangax.github.io/compat-table/es6/#Promise) but there are many polyfills available, including one listed in [www.promisejs.org](https://www.promisejs.org). Load polyfill before `workfront.min.js` and everything will work just fine.
36+
Although the lack of CORS support may prevent you from sending request to Workfront servers, there are some usage examples in [examples/browser](examples/browser) folder to give you an idea.
4237

4338

4439
## Documentation
4540

46-
API documentation is available at [http://bhovhannes.github.io/attask-api/](http://bhovhannes.github.io/attask-api/).
41+
API documentation is available at [http://workfront.github.io/workfront-api/](http://workfront.github.io/workfront-api/).
4742

4843

4944
## Examples
5045

5146
A number of examples can be found under [examples](examples) directory. It includes examples for both [node](examples/node) and [browser](examples/browser) environments.
52-
In order to run these examples clone a copy of attask-api repository:
47+
In order to run these examples clone a copy of workfront-api repository:
5348

54-
git clone git://github.com/bhovhannes/attask-api.git
49+
git clone git://github.com/Workfront/workfront-api.git
5550

5651
#### Running [node](examples/node) examples
5752

58-
First enter into `attask-api` directory and install all the dependencies:
53+
First enter into `workfront-api` directory and install all the dependencies:
5954

60-
cd attask-api
55+
cd workfront-api
6156
npm install
6257

6358
Use `node` to run the examples. For examples:
6459

6560
node examples/node/get-user-count.js
6661

67-
Each example script outputs all its results into console and contains comments in the source code explaining what is happenning in more details.
62+
Each example script outputs all its results into console and contains comments in the source code explaining what is happening in more details.
6863

6964
#### Running [browser](examples/browser) examples
7065

@@ -83,16 +78,16 @@ Visit [http://localhost:8000/examples/browser/](http://localhost:8000/examples/b
8378
[license-image]: http://img.shields.io/badge/license-APv2-blue.svg?style=flat
8479
[license-url]: LICENSE
8580

86-
[npm-url]: https://www.npmjs.org/package/attask-api
87-
[npm-version-image]: https://img.shields.io/npm/v/attask-api.svg?style=flat
88-
[npm-downloads-image]: https://img.shields.io/npm/dm/attask-api.svg?style=flat
81+
[npm-url]: https://www.npmjs.org/package/workfront-api
82+
[npm-version-image]: https://img.shields.io/npm/v/workfront-api.svg?style=flat
83+
[npm-downloads-image]: https://img.shields.io/npm/dm/workfront-api.svg?style=flat
8984

90-
[travis-url]: https://travis-ci.org/bhovhannes/attask-api
91-
[travis-image]: https://img.shields.io/travis/bhovhannes/attask-api.svg?style=flat
85+
[travis-url]: https://travis-ci.org/Workfront/workfront-api
86+
[travis-image]: https://img.shields.io/travis/Workfront/workfront-api.svg?style=flat
9287

93-
[coveralls-url]: https://coveralls.io/r/bhovhannes/attask-api
94-
[coveralls-image]: https://img.shields.io/coveralls/bhovhannes/attask-api.svg?style=flat
88+
[coveralls-url]: https://coveralls.io/r/Workfront/workfront-api
89+
[coveralls-image]: https://img.shields.io/coveralls/Workfront/workfront-api.svg?style=flat
9590

96-
[code-climate-url]: https://codeclimate.com/github/bhovhannes/attask-api
97-
[code-climate-image]: https://img.shields.io/codeclimate/github/bhovhannes/attask-api.svg?style=flat
91+
[code-climate-url]: https://codeclimate.com/github/Workfront/workfront-api
92+
[code-climate-image]: https://img.shields.io/codeclimate/github/Workfront/workfront-api.svg?style=flat
9893

dist/attask.min.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)