Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine API

Use Redmine API in browsers and NodeJS Fork from: https://github.com/chymz/redmine-api

Install

npm install redmine-apis

Quick Sample

import { RedmineAPI } from 'redmine-apis';

const api = new RedmineAPI('https://domain.com', { login: 'user', password: 'pass' });
// or
const api = new RedmineAPI('https://domain.com', { key: 'your_api_key' });

// You can pass all ressources name
api.query('issues')
  .then(results =>  {
    // ...
  })
  .catch(err => {
    // ...
  });

Docs

See here for documentation

Implemented

  • API Requester class (docs)
  • Issues (docs)
  • Projects (docs)
  • Time entries (docs)
  • Users
  • Enumerations
  • Custom fields
  • Versions
  • Issue Relations
  • Issue Statuses
  • Issue Categories
  • Attachments
  • Trackers
  • Groups
  • Roles
  • News
  • Wiki Pages
  • Queries

NodeJS & old browsers

You will need fetch() function to do requests on Redmine API. You can get a polyfill :

License

See LICENSE file

About

Use Redmine API with Javascript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages