OVH Task JS
Provide tools to get/subscribe on new/updated tasks from Travaux OVH.
You can :
- access to list, details, categories/projects
- subscribe to specific tasks activites, or projects activities
Install
npm install ovhtask-js
Dependencies
- https://rethinkdb.com (Easy install : https://www.rethinkdb.com/install/)
Notes
Every services return promises.
Main ORM is https://thinky.io. If RethinkDB is not on your localhost, update the db config into db.js
Access to tasks datas
var scrapper = scrapper; //// Category listscrapper //// Task list from all or one projectscrapper //// Details from a taskscrapper //// Task list with detail on one or many projects (From RSS Feed - I don't like this)scrapper
Install & subscribe to change feeds
- Rethink DB needs to be installed, and running.
Import
- For testing purposes, you need to import datas into your RethinkDB. Sample available in samples/.
- Default is RethinkDB provider. You can do your own import provider. Only follow the signature methods.
Samples (you will access to a cli menu ) :
samples/
Snippet as easy as possible :
var importer = import;importer //// Will import all the taskimporter //// Will import only 100 tasks from project 0 (main thread)
Subscribe
- For testing purposes, you need to import datas into your RethinkDB. Sample available in samples/.
Samples (you will access to a cli menu ) :
samples/feedsjs
Snippet as easy as possible :
var feed = feed; feed; feed feed feed
Contributions
Feel free to contribute to this repo.