{"id":23046540,"url":"https://github.com/agenthackeryt/cryptons-api","last_synced_at":"2025-08-15T00:33:29.640Z","repository":{"id":47756989,"uuid":"394031515","full_name":"AgentHackerYT/cryptons-api","owner":"AgentHackerYT","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-17T10:02:43.000Z","size":79,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-13T15:02:15.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AgentHackerYT.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-08T17:49:41.000Z","updated_at":"2023-03-17T12:42:04.000Z","dependencies_parsed_at":"2023-01-20T03:03:43.558Z","dependency_job_id":null,"html_url":"https://github.com/AgentHackerYT/cryptons-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fcryptons-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fcryptons-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fcryptons-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fcryptons-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgentHackerYT","download_url":"https://codeload.github.com/AgentHackerYT/cryptons-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229884957,"owners_count":18139277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T22:28:13.776Z","updated_at":"2024-12-15T22:28:19.742Z","avatar_url":"https://github.com/AgentHackerYT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptons API\r\n[![npm version](https://badge.fury.io/js/cryptons-api.svg)](https://www.npmjs.com/package/cryptons-api)\r\n[![Build Status](https://travis-ci.org/AgentHackerYT/cryptons-api.svg?branch=main)](https://travis-ci.org/AgentHackerYT/cryptons-api)\r\n[![Dependency Status](https://david-dm.org/AgentHackerYT/cryptons-api.svg)](https://david-dm.org/AgentHackerYT/cryptons-api)\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n  \u003cp\u003e\r\n    \u003ca href=\"https://nodei.co/npm/cryptons-api\r\n/\"\u003e\u003cimg src=\"https://nodei.co/npm/cryptons-api.png?downloads=true\u0026stars=true\" alt=\"NPM Info\" /\u003e\u003c/a\u003e\r\n  \u003c/p\u003e\r\n\u003c/div\u003e\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n \u003cp\u003e\r\n For errors and questions you can join \u003ca href=\"https://discord.gg/vUYvswzwMH\"\u003eour support server\u003c/a\u003e\u003c/p\u003e\r\n\u003c/div\u003e\r\n\r\n- [Cryptons API](https://cryptons.ga/) Node.JS Client\r\n- More Functions Will be added soon\r\n\r\n# What is this package? \u003cimg src = \"https://cdn.discordapp.com/emojis/854915298724282379.gif?v=1\" alt=\"what\" width=40\u003e\r\n\r\n- A fun npm package to use Cryptons API and many more utilities!\r\n\r\n## Features \u003cimg src = \"https://cdn.discordapp.com/emojis/815135700063879219.gif?v=1\" alt=\"install\" width=40\u003e\r\n- 🧑 Beginner friendly\r\n- 🎉 Easy to use\r\n- ✨ Simple\r\n- 🔘 Updates Frquently!\r\n\r\n## Installation \u003cimg src = \"https://cdn.discordapp.com/emojis/852546107279147028.gif?v=1\" alt=\"install\" width=40\u003e\r\n\r\n**From NPM:**\r\n```sh\r\nnpm install cryptons-api\r\n```\r\n\r\n## Configuration \u003cimg src = \"https://cdn.discordapp.com/emojis/830498299584446494.gif?v=1\" alt=\"config\" width=40\u003e\r\n\r\nYou will need your Cryptons API key to use `cryptons-api`.\r\n\r\nKeys can be found at: https://discord.gg/vUYvswzwMH\r\n\r\n# Usage \u003cimg src = \"https://cdn.discordapp.com/emojis/837910195450937384.png?v=1\" alt = \"hmmm\" width=40\u003e\r\n- Covid Command (For Discord)\r\n```js\r\nconst { Covid } = require('cryptons-api')\r\n//world\r\nnew Covid({\r\n    message: message,\r\n    country: 'world',\r\n    title: title,\r\n    description: 'Covid Cases',\r\n    color: 'RANDOM',\r\n    footer: 'Made By Cryptons API NPM',\r\n    addFieldOption : true || false\r\n})\r\n// covid\r\nnew Covid({\r\n    message: message,\r\n    country: 'india',\r\n    title: title,\r\n    description: 'Covid Cases',\r\n    color: 'RANDOM',\r\n    footer: 'Made By Cryptons API NPM',\r\n    addFieldOption : true || false\r\n})\r\n```\r\n- IMDB For Discord.js\r\n```js\r\nconst { IMDB } = require('cryptons-api')\r\nnew IMDB({\r\n    message: message,\r\n    key: 'IMDB_KEY',\r\n    movie: 'Movie Name'\r\n})\r\n```\r\n- Token Utils\r\n```js\r\nconst { keyUtils } = require('cryptons-api')\r\nconst keyutil = new keyUtils({\r\n    token: 'Cryptons api key'\r\n})\r\n// returns your cryptons api token\r\nkeyutil.getKey()\r\n\r\n// checks your token\r\nlet check = keyutil.checkKey()\r\nconsole.log(check)\r\n```\r\n- Logo Game for Discord.js\r\n```js\r\nconst { LogoGame } = require('cryptons-api')\r\nnew LogoGame({\r\n    token: 'Cryptons-Token',\r\n    message: message\r\n})\r\n```\r\n- Insult\r\n```js\r\nconst { insult } = require('cryptons-api')\r\ninsult(r =\u003e{\r\n    console.log(r)\r\n})\r\n```\r\n- Random Username generator\r\n```js\r\nconst { randomusername } = require('cryptons-api')\r\nrandomusername(r =\u003e{\r\n    console.log(r)\r\n})\r\n```\r\n- Script\r\n```js\r\nconst { script }  = require('cryptons-api')\r\nscript(r =\u003e{\r\n    console.log(r)\r\n})\r\n```\r\n- nameserver\r\n```js\r\nconst { namserver } = require('cryptons-api')\r\nnameserver('https://cryptons.ga' , r =\u003e{\r\n    console.log(r)\r\n})\r\n```\r\n- Minesweeper For Discord.js\r\n```js\r\nconst { MS } = require('cryptons-api')\r\nconst ms = new MS({\r\n    size: 20,\r\n    bomb: 10\r\n})\r\nms.output()\r\n```\r\n- Covid and Covid World \r\n```js\r\n// Covid For a country\r\nconst { covid } = require('cryptons-api')\r\ncovid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) =\u003e{ \r\n    console.log(country  + cases + recov +  death + dischargerate + deathrate + closed + flaglink )\r\n})\r\n//Covid World\r\nconst { covidWorld } = require('cryptons-api')\r\ncovidWorld((cases , deaths, recov , active, close,mild, critical)=\u003e{\r\n    console.log(cases + deaths + recov +  active + close + mild + critical)\r\n})\r\n```\r\n- Discord User Info\r\n```js\r\nconst { discorduser } = require('cryptons-api')\r\ndiscorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=\u003e{\r\n    console.log(username + avatar + disriminator + banner + banner_color + accent_color)\r\n    })\r\n```\r\n- Stats\r\n```js\r\nconst { stats } = require('cryptons-api')\r\nstats((node, platform , cpu , arch , memuse) =\u003e{\r\n    console.log(node + platform + cpu + arch + memuse)\r\n})\r\n```\r\n- Random Programing language name\r\n```js\r\nconst { script } = require('cryptons-api')\r\nscript(r =\u003e{\r\n    console.log(r)\r\n})\r\n```\r\n- Meme\r\n```js\r\nconst { meme } = require('cryptons-api')\r\nmeme((img , title , upvote , downvote , comments , url)=\u003e{\r\n    console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)\r\n})\r\n```\r\n- Clyde\r\n```js\r\nconst { clyde } = require('cryptons-api')\r\nconst a = new clyde({\r\n    text: something_here\r\n})\r\nmessage.channel.send(a)\r\n```\r\n- Same Usage as Clyde\r\n`Captcha`\r\n`cti`\r\n`mocktext`\r\n`pablo`\r\n`pabloeveryone`\r\n- Two Buttons\r\n```js\r\nconst { twobuttons } = require('cryptons-api')\r\nconst a = new twobuttons({\r\n    btn1: something_here,\r\n    btn2: something_here_as_well,\r\n})\r\n```\r\n## Developers 👨‍💻\r\n- **[Tejas Lamba#1924](https://github.com/TajuModding)**\r\n- **[Agent Hacker#0477](https://github.com/AgentHackerYT)**\r\n# Old Client\r\n- It will be not updated\r\n```js\r\nconst api = require('cryptons-api')\r\nconst crypton = new api.client({\r\n    token:'key here (optional)'\r\n    })\r\n////////////////////////////////\r\ncrypton.tokencheck(res =\u003e{console.log(res)})\r\n////////////////////////////////\r\ncrypton.stats((node , platform , cpu , arch , memuse)=\u003e{console.log(`node: ${node}, platform: ${platform} , arch: ${arch} , memuse: ${memuse}`)})\r\n////////////////////////////////\r\ncrypton.meme((img , title , upvote , downvote , comments , url)=\u003e{\r\n    console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)\r\n})\r\n////////////////////////////////\r\ncrypton.discorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=\u003e{console.log(all things)})\r\n////////////////////////////////\r\ncrypton.insult(insult =\u003e{console.log(insult)})\r\n////////////////////////////////\r\ncrypton.nameservers(domain , result=\u003e{console.log(result)})\r\n////////////////////////////////\r\ncrypton.userbanner(discord_id , res=\u003e{console.log(res)})\r\n////////////////////////////////\r\ncrypton.covidworld((cases , deaths, recovered , active, closedcases,mildcases, criticalcases)=\u003e{console.log(cases + deaths + recovered + active + closedcases + mildcases + criticalcases)})\r\n////////////////////////////////\r\ncrypton.covid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) =\u003e {console.log(country + cases + recov + death + dischargerate + deathrate + closed + flaglink)})\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Fcryptons-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagenthackeryt%2Fcryptons-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Fcryptons-api/lists"}