
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
#TaringaJS
Taringa + nodejs
Para instalar en su proyecto:
npm install taringajs --save
##Ejemplos Todos los ejemplos tienen el siguiente encabezado
var t = require('taringajs');
var taringa = new t('USERNAME', 'PASSWORD');
###Hacer un Shout
taringa.shout.add("Test - #NodeJS");
taringa.shout.add("Test image", 1, 0, "http://k33.kn3.net/taringa/9/2/3/6/7/8//djtito08/9B4.jpg"); //La url debe ser de kn3
taringa.shout.add("Test video", 2, 0, "https://www.youtube.com/watch?v=l7Fi8-7HRhc");
taringa.shout.attach_link("http://coffeescript.org/", function(err, data) {
if (err) {
return console.log(err);
}
return taringa.shout.add("Test link", 3, 0, data);
});
###Comentar un shout
taringa.shout.add_comment("Hola",60544255,19963011,"shout");
###Dar "Me gusta" a un shout
taringa.shout.like(60544255,19963011);
###Obtener los datos de un shout utilizando el id
taringa.shout.get_object(60544255, function(err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
###Importar una imagen a kn3
taringa.kn3.import("https://i.imgur.com/s8yBeZ8.png", function(err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
###Obtener los datos de un usuario según el nick
taringa.user.get_user_id_from_nick("overjt", function(err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
###Seguir a un usuario
taringa.user.follow(19963011);
###Dejar de seguir a un usuario
taringa.user.unfollow(19963011);
###Dar favorito a un shout
taringa.shout.fav(60544255,19963011);
###Obtener el último MP
taringa.message.getLast(function(err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
###Obtener un MP por ID
taringa.message.get(1324344, function(err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
Todos los ejemplos están en el archivo test/test.js
##TODO
FAQs
Taringa + NodeJS
The npm package taringajs receives a total of 11 weekly downloads. As such, taringajs popularity was classified as not popular.
We found that taringajs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.