Skip to main content

Description of your package

Project description

Mercado Libre - SDK (unofficial)

Configuration for using in backend services

  1. Install ngrok for localhost authorization
 curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok
  1. Follow the instructions in ngrok page

  2. Create a free domain in ngrok domains page

  3. Set the environment variables

MERCADOLIBRE_CLIENT_ID
MERCADOLIBRE_CLIENT_SECRET
MERCADOLIBRE_REDIRECT_URI={this should be your ngrok domain url}
  1. If you want to save your tokens in a Redis database set
MERCADOLIBRE_REDIS_HOST
MERCADOLIBRE_REDIS_PORT
  1. Run in your terminal
mercadolibre.authorize

All envs variables can be defined in a .env file in your root folder

Configuration for using with frontend services

Set the environment variables

MERCADOLIBRE_CLIENT_ID
MERCADOLIBRE_CLIENT_SECRET
MERCADOLIBRE_REDIRECT_URI={your backend url that handles login}

All envs variables can be defined in a .env file in your root folder

Building from source

python setup.py sdist bdist_wheel
twine upload dist/*

Licence

MIT License

Copyright (c) 2023 Mercado Radar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Mercado Libre and its trademarks are the property of MercadoLibre, Inc. Mercado Radar is not affiliated, endorsed, or sponsored by MercadoLibre, Inc. This client is an independent, unofficial software developed by Mercado Radar. All copyrights and trademarks mentioned here are the property of their respective owners.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mercadolibre-sdk-0.0.15.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

mercadolibre_sdk-0.0.15-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file mercadolibre-sdk-0.0.15.tar.gz.

File metadata

  • Download URL: mercadolibre-sdk-0.0.15.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for mercadolibre-sdk-0.0.15.tar.gz
Algorithm Hash digest
SHA256 99a00908c183d9a17e99c5ab38293111139979be429f1000e5a82f55ad83f3cd
MD5 82bde2b04578e0a1e4961bd85e972521
BLAKE2b-256 965a8884674e3969562f53a9a2fd1d42cf95810f3cfe7a046b253ce8e33ea254

See more details on using hashes here.

File details

Details for the file mercadolibre_sdk-0.0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for mercadolibre_sdk-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 acead5ec4360cc5f5f4870e0c10c69d3d262eac416aebabe84243231121577d6
MD5 1d64f49f06cf780a3a4e33552cd4c2a4
BLAKE2b-256 dffae4956be174e9597feaf536824d2a7cf235fdb705ce30d4182419d40f3999

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page