{"_id":"@awsd/sdk_coingecko","_rev":"6-8de77f6c91964e7ded95969999c4731a","name":"@awsd/sdk_coingecko","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@awsd/sdk_coingecko","version":"1.0.0","keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","_id":"@awsd/sdk_coingecko@1.0.0","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"dist":{"shasum":"72e852b0e54302024885b89aa95f1e4da7cfc051","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.0.tgz","fileCount":164,"integrity":"sha512-f5073860i94oNnvA9S2XW6hWKy9vjjPGLEYIhseMHpaFnUgn3AWqxc8yQ458krp0RwD1XNPgdloKkZLjyAsdlg==","signatures":[{"sig":"MEUCIQDyPHHjgDwM7u0LQIk8av9ZJ4idK0AXP1kQ97EMjhwxdgIgeghn494gFBDJBAUQaj1VXQTOVAtxVf+OOmxIEGphhT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97412},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"40fbc0292bf0766775637cc12f4bb767111a5694","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"repository":{"url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git","type":"git"},"_npmVersion":"11.0.0","description":"Un module npm génial en TypeScript","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","dotenv":"^16.0.0","eslint":"^8.52.0","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_coingecko_1.0.0_1741060745436_0.4704659645199267","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@awsd/sdk_coingecko","version":"1.0.1","keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","_id":"@awsd/sdk_coingecko@1.0.1","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"dist":{"shasum":"c9c65e46583d506b7dd1e35e9379173d17a7cbf9","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.1.tgz","fileCount":164,"integrity":"sha512-dCz8rLHH/hFJnU67hhn8eAF/g2Y4rceqCSEGg+oOmXlHQMk4Iv8lA31csBPMhIsjgTPnEkrcAUbndzvK1CfLCg==","signatures":[{"sig":"MEUCIGRi43WdspYNU2FU8ut9ryaEyslt/DQQh0dU1E9+rSVZAiEArqXlDbzcnOMdBO+JGhAMzFT4DEACZ3TH89nhUtWinNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97471},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"83b4d2a4a8f2b86706b5a9b7746b5979c68959e2","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"repository":{"url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git","type":"git"},"_npmVersion":"10.8.2","description":"Un module npm génial en TypeScript","directories":{},"_nodeVersion":"18.20.7","dependencies":{"dotenv":"^16.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","dotenv":"^16.0.0","eslint":"^8.52.0","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_coingecko_1.0.1_1741064230861_0.6588160031250101","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@awsd/sdk_coingecko","version":"1.0.2","keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","_id":"@awsd/sdk_coingecko@1.0.2","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"dist":{"shasum":"5248943968952223a856d11f86acc666e963506e","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.2.tgz","fileCount":164,"integrity":"sha512-GuCrRblLv3AFbaSajAO+ct7vwAGZfyTj/grzbOpEbUMOc/8MqzpCi8OM4uZwMfFFXwdLq2uPPCrE02Ji0TPWSA==","signatures":[{"sig":"MEYCIQDn4YSxO8H6OdhzesE1M4eCws8Hg/CFOK59BFYj44XkMQIhAO5QG3sAeYBA45nHVhzcTK7dJLGuCKRKwPmZLbX+TnFW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97471},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"9c9e4bb59054ad9b4c466b8343c2a359dbddcfe4","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"repository":{"url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git","type":"git"},"_npmVersion":"10.8.2","description":"Un module npm génial en TypeScript","directories":{},"_nodeVersion":"18.20.7","dependencies":{"dotenv":"^16.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","dotenv":"^16.0.0","eslint":"^8.52.0","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_coingecko_1.0.2_1741065205262_0.3819116629117827","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@awsd/sdk_coingecko","version":"1.0.3","keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","_id":"@awsd/sdk_coingecko@1.0.3","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"dist":{"shasum":"a9cd3d6efad118435318460e944e24d9e76a776b","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.3.tgz","fileCount":164,"integrity":"sha512-CydsGuUw1gwBGzaKMuAhlsWxUY7UMpm8eDIiEh11HxNoL+aBlIjU302lTrEs0Uh0NbjDif0XZBUyZKyyCQu2Dg==","signatures":[{"sig":"MEUCIFuewpcYgNf8ro+ZSU+rZ+olOFVknnD6OgWJHl7DfrYUAiEAp8/M0wb33P40FsdVOGJCbtBpAjeb3dET60+poKoqUn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97430},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"5a5c239dedf7bc15bad7efda4ab97d0542ad9f1c","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"repository":{"url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git","type":"git"},"_npmVersion":"10.8.2","description":"Un module npm génial en TypeScript","directories":{},"_nodeVersion":"18.20.7","dependencies":{"dotenv":"^16.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","dotenv":"^16.0.0","eslint":"^8.52.0","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_coingecko_1.0.3_1741070650795_0.09629370344053645","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@awsd/sdk_coingecko","version":"1.0.4","keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","_id":"@awsd/sdk_coingecko@1.0.4","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"dist":{"shasum":"57fbd7146e5a1fa18bbc1c27ebf3208db08f2dff","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.4.tgz","fileCount":164,"integrity":"sha512-bpxCvzTnLH7V4Gb32Bpudtk+4h4NXhdPWNankGwPLeey/tznBjCyEAVRnWAzjJvX0m6N/vywTSVqZ0jjfEompw==","signatures":[{"sig":"MEUCIF6MrAziPJ2OplPdYesK68WrmEwydmZim6iR2HpjmisUAiEAzjgohqiPqbzn6ctkQHhBnm7yhYvjkVq/HamTehbDySw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97606},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"4cd2948e5e23331f2d46df74216fb9ca8552479c","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"repository":{"url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git","type":"git"},"_npmVersion":"10.8.2","description":"Un module npm génial en TypeScript","directories":{},"_nodeVersion":"18.20.7","dependencies":{"dotenv":"^16.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","dotenv":"^16.0.0","eslint":"^8.52.0","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_coingecko_1.0.4_1741586667144_0.822228140040242","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@awsd/sdk_coingecko","version":"1.0.5","description":"Un module npm génial en TypeScript","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"jest","lint":"eslint 'src/**/*.ts'"},"repository":{"type":"git","url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git"},"keywords":["node","module","typescript","npm"],"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^16.0.0"},"devDependencies":{"typescript":"^5.3.3","jest":"^29.6.2","eslint":"^8.52.0","dotenv":"^16.0.0"},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public"},"_id":"@awsd/sdk_coingecko@1.0.5","gitHead":"5191baa0c2b66309f4bae6ef0c78f888ec7844a7","bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","_nodeVersion":"18.20.7","_npmVersion":"10.8.2","dist":{"integrity":"sha512-T5i00UkaMWtHbsFbftQuV3G8dTWmx4GI4cPLEiWrs37JAyVKto74Pubs4sGzlS1hgiF+Xl++m1gRttbHtbKHVw==","shasum":"60015bac4c728e9f4cc6f260bdf5eccc11ecba07","tarball":"https://registry.npmjs.org/@awsd/sdk_coingecko/-/sdk_coingecko-1.0.5.tgz","fileCount":164,"unpackedSize":98154,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDRuwv2RdEbabZZd0TUBlVCgfCAvftHFJO8G1kICYOl3QIhAMvzZQ309NQBcTIVdwPOgAtttFbYd4LT6IoVsRxG9TOl"}]},"_npmUser":{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"},"directories":{},"maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_coingecko_1.0.5_1741589578823_0.14447342929856655"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-04T03:59:05.379Z","modified":"2025-03-10T06:52:59.330Z","1.0.0":"2025-03-04T03:59:05.640Z","1.0.1":"2025-03-04T04:57:11.052Z","1.0.2":"2025-03-04T05:13:25.447Z","1.0.3":"2025-03-04T06:44:10.964Z","1.0.4":"2025-03-10T06:04:27.393Z","1.0.5":"2025-03-10T06:52:59.124Z"},"bugs":{"url":"https://github.com/sicotjeanvivien/sdk_coingecko/issues"},"author":{"name":"sicot jean vivien","email":"jeanvivien.sicot@gmail.com"},"license":"MIT","homepage":"https://github.com/sicotjeanvivien/sdk_coingecko#readme","keywords":["node","module","typescript","npm"],"repository":{"type":"git","url":"git+https://github.com/sicotjeanvivien/sdk_coingecko.git"},"description":"Un module npm génial en TypeScript","maintainers":[{"name":"malgol16","email":"jeanvivien.sicot@lapiscine.pro"}],"readme":"# 🦎 CoinGecko SDK for Node.js\n\nA simple and efficient SDK to interact with the [CoinGecko API](https://www.coingecko.com/en/api) using Node.js and TypeScript.\nThe sdk is only available for version v3.0.1 (PUBLIC API)\n\n## 🚀 Features\n- 📈 Get real-time cryptocurrency data\n- 🏷️ Fetch market prices, trends, and exchange rates\n- ⚡ Lightweight and easy to use\n- ✅ Fully typed for TypeScript support\n\n## 📦 Installation\nInstall the package using npm or yarn:\n\n```\nnpm install @awsd/sdk_coingecko\n```\n##### or\n```\nyarn add @awsd/sdk_coingecko\n```\n\n### Add variables in .env \n```\nCOINGECKO_API_KEY=\"<your key>\"\nCOINGECKO_API_BASE_URL=\"https://api.coingecko.com/api/v3\"\n```\n### Exemple basic use in node server\n\n```import * as http from 'http';\nimport SDK from '@awsd/sdk_coingecko';\n\nconst hostname = '127.0.0.1';\nconst port = 3000;\n\nconst server = http.createServer(async (req, res) => {\n  const data = await SDK.getCoinMarketList({ vs_currency: \"usd\", ids: \"bitcoin,ethereum\" });\n  res.statusCode = 200;\n  res.setHeader('Content-Type', 'text/plain');\n  res.end(JSON.stringify(data));\n});\n\nserver.listen(port, hostname, () => {\n  console.log(`Server running at http://${hostname}:${port}/`);\n});\n```","readmeFilename":"README.md"}