Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
mercadopago
Advanced tools
This library provides developers with a simple set of bindings to the MercadoPago API. You can read the full documentation here.
The SDK Supports Node.js from version v0 to the latest (v7).
If you implemented the previous SDK, you don't need to do anything. Just update the NPM Package and you will received all of the previous methods.
$ npm install mercadopago@beta
or saving as a dependency on your package.json
$ npm install --save mercadopago@beta
Before you use the SDK, you need to get your credentials from the following address:
We highly recomend using only the access_token. If you provide the client_id and client_secret it's going to generate the access_token anyway (only on Production, for Sandbox use access_token).
First you need to require the library
var mercadopago = require('mercadopago');
Then you need to configure it with your credentials:
mercadopago.configure({
access_token: 'ACCESS_TOKEN'
});
You don't need to instantiate mercadopago
. It's a global singleton accross your application. Just require the SDK in any other file and it's already configured with your credentials.
In the examples folder you will find a web application. In this you can try some examples. For more information read the documentation here.
This project is tested using:
You can see the current coverage here.
Copyright © 2017.
FAQs
Mercadopago SDK for Node.js
The npm package mercadopago receives a total of 11,462 weekly downloads. As such, mercadopago popularity was classified as popular.
We found that mercadopago demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.