Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Node.js client for the Google Code Project Hosting Issue Tracker API.
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
.gitignore
.jshintrc
.npmignore
.travis.yml
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

Build Status

gcph-client

A Node.js client for the Google Code Project Hosting Issue Tracker API.

Getting Started

Install the module with: npm install gcph-client

Documentation

(Coming soon?)

Examples

var gcph = require('gcph-client');
var client = new gcph.Client();
client.login('YourGoogleAccount@GmailOrWherever.com', 'p@s$w0r|)', function() {
    client.getIssues('someGoogleCodeProject', function(issues) {
        console.log(JSON.stringify(issues));
    });
});

For many much more complete examples, see the "examples" folder.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 1.5.6: Published to NPM on 2013-03-15
    • Fixed a bug/vulnerability with the author field.
  • 1.5.5: Published to NPM on 2013-03-04.
    • Fixed a lint issue.
  • 1.5.4: Published to NPM on 2013-01-23.
    • Fixed the Comment object so that it exposes its project and issueId properties.
  • 1.5.3: Published to NPM on 2013-01-22.
    • Fixed a typo causing a syntax error... fail.
  • 1.5.2: Published to NPM on 2013-01-22.
    • Minor bug fix to prevent the username "---" (represented removal, e.g. Issue had an owner but now it doesn't) from having "@gmail.com" appended.
  • 1.5.1: Published to NPM on 2013-01-21.
    • Minor bug fix/input sanitizing for the new Issue.getUrl method.
  • 1.5.0: Published to NPM on 2013-01-21.
    • Added the Issue.getUrl method.
  • 1.4.0: Published to NPM on 2013-01-21.
    • Added project and issueId to the Comment object.
  • 1.3.0: Published to NPM on 2013-01-20.
    • Added blocks and project to the Issue object.
    • Parsed the id, blocks, and mergedInto values for Comments as integers.
  • 1.2.0: Published to NPM on 2013-01-18.
    • Removed over-zealous use of Object.create(null);.
  • 1.1.0: Published to NPM on 2013-01-14.
    • Added the ability to remain unauthenticated when possible.
    • Added the ability to "honor privacy" (i.e. project members can still get the user's public display name).
  • 1.0.0: Published to NPM on 2012-11-27.
    • Complete authenticated API is supported.

License

Copyright (c) 2012-2013 James M. Greene
Licensed under the MIT license.

Something went wrong with that request. Please try again.