shaarli / Shaarli

The personal, minimalist, super-fast, database free, bookmarking service - community repo
https://shaarli.readthedocs.io/
Other
3.44k stars 294 forks source link

A node.js api client #915

Closed laBecasse closed 7 years ago

laBecasse commented 7 years ago

Hello everyone, I made a client for shaarli api in node.js: shaarli-api. I hope that some of you can test it ;)

ArthurHoaro commented 7 years ago

Hi! Thanks for the feedback, that's nice, I'll give a try later.

However, you only implemented 3 out of 7 endpoints, and let out the GET and PUT link methods which are kind of essential. :)

laBecasse commented 7 years ago

Yes it is just a begin, but I will add the two endpoints you mention pretty soon.

laBecasse commented 7 years ago

Now there are 6 of the 7 endpoints :smile:

virtualtam commented 7 years ago

Thanks @laBecasse ;-)

To avoid confusion, I'd suggest renaming:

laBecasse commented 7 years ago

Hep, I understand my mistake, but actually I just can't rename the npm module : https://www.gregjs.com/javascript/2016/how-to-rename-a-published-npm-module/

So I don't know what to do to keep all stuff coherent. Any idea ?

virtualtam commented 7 years ago

The linked article provides good advice, but this mostly applies to libraries/projects that people start using and rely on; I'm not familiar with NPM's internals, but you should be able to opt for one of the following:

Deletion might be available from the NPM management interface, or you may have to contact a platform administrator / a mailing list to ask for its removal.

Nevertheless, you can still:

laBecasse commented 7 years ago

Ok, I think that the name is corrected in all places, now ;)

virtualtam commented 7 years ago

Cool! Thanks @laBecasse for updating the NPM library, I'll add it to the Shaarli documentation ;-)

virtualtam commented 7 years ago

Closing as the library has been added to the Shaarli docs :)