New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apiseeds-exchange-rate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apiseeds-exchange-rate

Simple, accurate and transparent exchange rates and currency conversion data using apiseeds API

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

Apiseeds | Exchange Rate

Is a simple module that provides exchange rates from https://apiseeds.com/ directly into your js file in JSON format.

Requeriments

Installation

# Local installation
npm install -s apiseeds-exchange-rate

# Global installation
npm install -g apiseeds-exchange-rate

Method

convert

Params

  • apikey (String) [Required]
  • from (String) [Required] Check currencies method
  • to (String) [Required] Check currencies method
  • callback (response,headers) (Function) [Required]
  • amount (Number) [Optional]

Example Convert

'use strict';

var exchange = require("apiseeds-exchange-rate");

const apikey = 'YOUR-API-KEY'; // Get it here => https://apiseeds.com/

exchange.convert(apikey,"BTC","USD",function(response,headers){
    console.log("Header", headers);
    console.log("Response",response);
});

Method

currencies

Return supported currencies

Params

  • apikey (String) [Required]

Example currencies

'use strict';

var exchange = require("apiseeds-exchange-rate");

const apikey = 'YOUR-API-KEY'; // Get it here => https://apiseeds.com/

exchange.currencies(apikey,function(response,headers){
    console.log("Header", headers);
    console.log("Response",response);
});

Important

Rate limit and credits are in the header response

Api Documentation

https://apiseeds.com/documentation/exchangerates

Keywords

FAQs

Package last updated on 11 Feb 2018

Did you know?

Socket

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.

Install

Related posts

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