5.6.2 • Published 7 months ago

panoptes-client v5.6.2

Weekly downloads
171
License
Apache-2.0
Repository
github
Last release
7 months ago

Panoptes Client

A Javascript client for accessing the Panoptes API.

Installation

You can install the client from NPM:

npm install panoptes-client

and use it with:

ES5

apiClient = require('panoptes-client/lib/api-client');
auth = require('panoptes-client/lib/auth');
oauth = require('panoptes-client/lib/oauth');
talkClient = require('panoptes-client/lib/talk-client');

ES6

import apiClient from 'panoptes-client/lib/api-client'
import auth from 'panoptes-client/lib/auth'
import oauth from 'panoptes-client/lib/oauth'
import talkClient from 'panoptes-client/lib/talk-client'

Documentation

The documentation for the library is available at https://zooniverse.github.io/panoptes-javascript-client/. If there's anything missing, submit a PR!

Resource access

The Panoptes API is built on the very generically named JSON API Spec. This client leans heavily on this library to make it easy to access different resources that the API offers.

Conventions

This project adheres to Semantic Versioning, and follows the changelog format set out at Keep a CHANGELOG.

Running the tests

Tests (via tap) exist for the auth module, and can be run with npm run test.

Publishing

  1. Create a new branch for the new version.
  2. Add the new version to the changelog with summary of changes.
  3. Update package.json and package-lock.json with the new version number (manually or with npm --no-git-tag-version version [major|minor|patch]).
  4. Commit and push the changes to GitHub. Create a pull request, have it reviewed, and merge it.
  5. Using GitHub's web interface, create a new tag and release with the new version number and summary of changes.
  6. Pull the new version of the package locally, confirm it reflects the new version.
  7. Run tests with npm test, confirm that they pass.
  8. Run npm publish --dry-run to check that the package is ready to publish, confirm no errors or issues.
  9. Run npm publish to publish the new version to npm.

License

Copyright 2015 Zooniverse

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.

5.6.2

7 months ago

5.6.1

10 months ago

5.6.0

12 months ago

5.5.8

1 year ago

5.5.7

1 year ago

5.5.6

1 year ago

5.5.1

1 year ago

5.5.0

1 year ago

5.3.0

1 year ago

5.2.7

1 year ago

5.2.6

1 year ago

5.4.1

1 year ago

5.4.0

1 year ago

5.5.5

1 year ago

5.5.4

1 year ago

5.5.3

1 year ago

5.5.2

1 year ago

5.1.0

2 years ago

5.2.5

2 years ago

5.2.4

2 years ago

5.2.3

2 years ago

5.2.2

2 years ago

5.2.1

2 years ago

5.2.0

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.2.8

2 years ago

4.2.3

2 years ago

4.2.2

2 years ago

4.2.5

2 years ago

4.2.4

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.2.7

2 years ago

4.2.6

2 years ago

4.1.0

2 years ago

4.1.1

2 years ago

4.0.0

2 years ago

3.3.6

3 years ago

3.4.0

3 years ago

3.4.1

3 years ago

3.3.5

3 years ago

3.3.4

3 years ago

3.3.3

3 years ago

3.3.1

4 years ago

3.3.2

4 years ago

3.3.0

4 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

3.0.0-rc.0

5 years ago

2.13.0

5 years ago

2.12.3

5 years ago

2.12.2

5 years ago

2.12.1

6 years ago

2.12.0

6 years ago

2.11.2

6 years ago

2.11.1

6 years ago

2.11.0

6 years ago

2.10.0

6 years ago

2.9.7

7 years ago

2.9.6

7 years ago

2.9.5

7 years ago

2.9.4

7 years ago

2.9.3

7 years ago

2.9.2

7 years ago

2.9.1

7 years ago

2.9.0

7 years ago

2.8.1

7 years ago

2.8.0

7 years ago

2.7.2

7 years ago

2.7.1

8 years ago

2.7.0

8 years ago

2.6.1

8 years ago

2.6.0

8 years ago

2.5.2

8 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.0

9 years ago

2.3.0

9 years ago

2.2.3

9 years ago

2.2.2

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

0.1.2

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago