DEV.ME SDK for JavaScript & TypeScript
DEV.ME SDK for JavaScript & TypeScript
Works with Node.js and in The Browser, Compatible with Node.js & React.js & Vue.js & Angular.js
Get Your Free API Key
Signup Here and Get Your Free API Key
Installation and usage instructions
Installation
Install the module through YARN:
yarn add @devmehq/sdk-js
Or NPM
npm insgall @devmehq/sdk-js
Examples
Currency API Conversion
import { CurrencyApi, Configuration } from '@devmehq/sdk-js';
const config = new Configuration({ apiKey: 'demo-key' });
const currencyApi = new CurrencyApi(config);
const { data } = await currencyApi.v1ConvertCurrency({
amount: 10,
from: 'USD',
to: 'EUR',
});
IP API Geolocation, IP2Location, IP Data
import { IPApi, Configuration } from '@devmehq/sdk-js';
const config = new Configuration({ apiKey: 'demo-key' });
const ipApi = new IPApi(config);
const { data } = await ipApi.v1GetIpDetails({ ip: '52.45.23.11' });
Testing
yarn test
Need Help?
If you need help please drop us a message, we would be glad to help @ Contact us
Contributing
Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!
LICENSE MIT