1.0.2 • Published 7 years ago
cydia-api-node v1.0.2
#cydia-api-node
Just a simple node library for the cydia api. Used for @TweakBot#2861 in Discord.
#How To Use
const cydia = require('cydia-api-node');
cydia.getPrice('com.ziph0n.pickpocket') //Use the package name and not the display name
.then(price => {
console.log(price); //1.99
});
const cydia = require('cydia-api-node');
cydia.getRepo('com.ziph0n.pickpocket') //Use the package name and not the display name
.then(repo => {
console.log(repo);
/*
{
name: "BigBoss",
link: "http://apt.thebigboss.org/repofiles/cydia/"
}
*/
});
const cydia = require('cydia-api-node');
cydia.getInfo('com.ziph0n.pickpocket') //Use the package name or the display name. Case-insensitive
.then(info => {
console.log(info);
/*
{
display: 'PickPocket',
name: 'com.ziph0n.pickpocket',
section: 'Tweaks',
summary: 'A Powerful, Full Featured and Highly Customizable Tweak Against Thieves!',
version: '1.4'
}
*/
});
cydia.getInfo('PickPocket') //Use the package name or the display name. Case-insensitive
.then(info => {
console.log(info);
/*
{
display: 'PickPocket',
name: 'com.ziph0n.pickpocket',
section: 'Tweaks',
summary: 'A Powerful, Full Featured and Highly Customizable Tweak Against Thieves!',
version: '1.4'
}
*/
});
const cydia = require('cydia-api-node');
cydia.getAllInfo('com.ziph0n.pickpocket') //Use the package name or the display name. Case-insensitive
.then(info => {
console.log(info);
/*
{
display: 'PickPocket',
name: 'com.ziph0n.pickpocket',
section: 'Tweaks',
summary: 'A Powerful, Full Featured and Highly Customizable Tweak Against Thieves!',
version: '1.4',
price: 1.99
}
*/
});
cydia.getAllInfo('PickPocket') //Use the package name or the display name. Case-insensitive
.then(info => {
console.log(info);
/*
{
display: 'PickPocket',
name: 'com.ziph0n.pickpocket',
section: 'Tweaks',
summary: 'A Powerful, Full Featured and Highly Customizable Tweak Against Thieves!',
version: '1.4',
price: 1.99,
repo: {
name: "BigBoss",
link: "http://apt.thebigboss.org/repofiles/cydia/"
}
}
*/
});
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.5.2
7 years ago
0.5.1
7 years ago
0.5.0
7 years ago
0.4.1
7 years ago
0.4.0
7 years ago
0.3.10
7 years ago
0.3.9
7 years ago
0.3.8
7 years ago
0.3.7
7 years ago
0.3.6
7 years ago
0.3.5
7 years ago
0.3.4
7 years ago
0.3.3
7 years ago
0.3.2
7 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.0
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago