Socket
Socket
Sign inDemoInstall

croxy-api

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croxy-api - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

48

files/app.js

@@ -11,3 +11,3 @@ const request = require('node-superfetch');

new Promise(async function(resolve, reject){
const { body } = await request.get('https://croxy-api-web.glitch.me/keychecker/'+key);
const { body } = await request.get('https://croxy-api-web.croxythedev.repl.co/keychecker/'+key);
if(body.key === false) throw new Error('Girdiğiniz key geçersizdir.');

@@ -21,3 +21,3 @@ })

var başlat = Date.now();
const { body } = await request.get('https://croxy-api-web.glitch.me/doviz/'+this.key);
const { body } = await request.get('https://croxy-api-web.croxythedev.repl.co/doviz/'+this.key);
let veriler = {};

@@ -53,3 +53,3 @@ Object.keys(body).forEach(v => {

var başlat = Date.now()
const { body } = await request.get('https://croxy-api-web.glitch.me/deprem/'+sayi+'/'+this.key);
const { body } = await request.get('https://croxy-api-web.croxythedev.repl.co/deprem/'+sayi+'/'+this.key);
this.emit("veriAlındı", {

@@ -75,3 +75,3 @@ veriler: body,

var başlat = Date.now();
const { body } = await request.get("https://croxy-api-web.glitch.me/minecraft/sunucu/"+yazi.toLowerCase()+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/minecraft/sunucu/"+yazi.toLowerCase()+'/'+this.key);
this.emit("veriAlındı", {

@@ -97,3 +97,3 @@ veriler: body,

var başlat = Date.now();
const { body } = await request.get("https://croxy-api-web.glitch.me/minecraft/oyuncu/"+yazi.toLowerCase()+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/minecraft/oyuncu/"+yazi.toLowerCase()+'/'+this.key);
this.emit("veriAlındı", {

@@ -119,3 +119,3 @@ veriler: body,

var başlat = Date.now()
const { body } = await request.get("https://croxy-api-web.glitch.me/film/"+yazi+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/film/"+yazi+'/'+this.key);
this.emit("veriAlındı", {

@@ -141,3 +141,3 @@ veriler: body,

var başlat = Date.now()
const { body } = await request.get("https://croxy-api-web.glitch.me/dizi/"+yazi+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/dizi/"+yazi+'/'+this.key);
this.emit("veriAlındı", {

@@ -163,3 +163,3 @@ veriler: body,

var başlat = Date.now()
const { body } = await request.get("https://croxy-api-web.glitch.me/sarki/"+yazi.toLowerCase()+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/sarki/"+yazi.toLowerCase()+'/'+this.key);
this.emit("veriAlındı", {

@@ -186,3 +186,3 @@ veriler: body,

var başlat = Date.now()
const { body } = await request.get("https://croxy-api-web.glitch.me/sifreolustur/"+sayi+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/sifreolustur/"+sayi+'/'+this.key);
this.emit("veriAlındı", {

@@ -208,3 +208,3 @@ veriler: body.hata ? body.hata : body.sonuç,

var başlat = Date.now()
const { body } = await request.get("https://croxy-api-web.glitch.me/vikipedi/"+aranacak+'/'+this.key);
const { body } = await request.get("https://croxy-api-web.croxythedev.repl.co/vikipedi/"+aranacak+'/'+this.key);
this.emit("veriAlındı", {

@@ -234,3 +234,3 @@ veriler: body.hata ? body.hata : Object.keys(body).map(x => body[x]),

var başlat = Date.now()
const { body } = await request.get(`https://croxy-api-web.glitch.me/birimcevir/${birim}/${sayi}`+'/'+this.key);
const { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/birimcevir/${birim}/${sayi}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -257,3 +257,3 @@ veriler: body,

var başlat = Date.now()
const { body } = await request.get(`https://croxy-api-web.glitch.me/ceviri/${dil}/${yazi}`+'/'+this.key);
const { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/ceviri/${dil}/${yazi}`+'/'+this.key);
if(body.sonuç === yazi) throw new TypeError("Lütfen geçerli bir dil girin. Örneğin; tr, es, en vb.")

@@ -281,3 +281,3 @@ this.emit("veriAlındı", {

if(!format) {
var { body } = await request.get(`https://croxy-api-web.glitch.me/tarih/normal/${date}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/tarih/normal/${date}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -292,3 +292,3 @@ veriler: body.hata ? body.hata : body.sonuç,

} else {
var { body } = await request.get(`https://croxy-api-web.glitch.me/tarih/normal/${date}/${format}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/tarih/normal/${date}/${format}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -315,3 +315,3 @@ veriler: body.hata ? body.hata : body.sonuç,

var başlat = Date.now()
var { body } = await request.get(`https://croxy-api-web.glitch.me/sondakika/${val}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/sondakika/${val}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -339,3 +339,3 @@ veriler: body.hata ? body.hata : Object.keys(body.sonuç).map(x => body.sonuç[x]),

var başlat = Date.now()
var { body } = await request.get(`https://croxy-api-web.glitch.me/haber/${val}/${kategori}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/haber/${val}/${kategori}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -361,3 +361,3 @@ veriler: body.hata ? body.hata : Object.keys(body.sonuç).map(x => body.sonuç[x]),

var başlat = Date.now()
var { body } = await request.get(`https://croxy-api-web.glitch.me/rastgeleveri/${val}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/rastgeleveri/${val}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -383,3 +383,3 @@ veriler: body.hata ? body.hata : body.sonuç,

var başlat = Date.now();
var { body } = await request.get(`https://croxy-api-web.glitch.me/kalansure/${val}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/kalansure/${val}`+'/'+this.key);
if(!format) {

@@ -417,3 +417,3 @@ this.emit("veriAlındı", {

var başlat = Date.now();
var { body } = await request.get(`https://croxy-api-web.glitch.me/gecensure/${val}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/gecensure/${val}`+'/'+this.key);
if(!format) {

@@ -451,3 +451,3 @@ this.emit("veriAlındı", {

try {
var { body } = await request.get(`https://croxy-api-web.glitch.me/namazvakti/${şehir}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/namazvakti/${şehir}`+'/'+this.key);
} catch (err) {

@@ -473,3 +473,3 @@ if(err.message === "503 Service Unavailable") throw new TypeError("Verilerin geldiği sitede bir hata ortaya çıktı. Lütfen tekrar deneyin. Eğer hala çalışmazsa lütfen modülün Discord destek sunucusuna gelin. https://discord.gg/6qYpjuz")

try {
var { body } = await request.get(`https://croxy-api-web.glitch.me/youtube/videolar/${kanal}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/youtube/videolar/${kanal}`+'/'+this.key);
} catch (err) {

@@ -496,3 +496,3 @@ if(err.message === "503 Service Unavailable") throw new TypeError("Verilerin geldiği sitede bir hata ortaya çıktı. Lütfen tekrar deneyin. Eğer hala çalışmazsa lütfen modülün Discord destek sunucusuna gelin. https://discord.gg/6qYpjuz")

var başlat = Date.now()
var { body } = await request.get(`https://croxy-api-web.glitch.me/kackm/${şehir1}/${şehir2}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/kackm/${şehir1}/${şehir2}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -519,3 +519,3 @@ veriler: body.hata ? body.hata : body,

if(!format) {
var { body } = await request.get(`https://croxy-api-web.glitch.me/tarih/sayisal/${date}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/tarih/sayisal/${date}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -530,3 +530,3 @@ veriler: body.hata ? body.hata : body.sonuç,

} else {
var { body } = await request.get(`https://croxy-api-web.glitch.me/tarih/sayisal/${date}/${format}`+'/'+this.key);
var { body } = await request.get(`https://croxy-api-web.croxythedev.repl.co/tarih/sayisal/${date}/${format}`+'/'+this.key);
this.emit("veriAlındı", {

@@ -533,0 +533,0 @@ veriler: body.hata ? body.hata : body.sonuç,

@@ -1,2 +0,2 @@

{
{
"bundleDependencies": false,

@@ -64,3 +64,3 @@ "dependencies": {

"types": "./typings/index.d.ts",
"version": "2.0.5"
"version": "2.0.6"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc