Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
.. image:: https://img.shields.io/pypi/v/apimarket.svg :alt: PyPI-Server :target: https://pypi.org/project/apimarket/
.. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter :alt: Twitter :target: https://twitter.com/apimarketmx
.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold :alt: Project generated with PyScaffold :target: https://pyscaffold.org/
API Market Python Open Source Development
.. code-block:: bash
pip install apimarket
There are three different ways to set the API key: you can set the API key as an environment variable in your shell, in the .env file, or call functions with your API key.
.. code-block:: bash
export APIMARKET_API_KEY="REPLACE-WITH-YOUR-API-HERE"
.. code-block:: bash
APIMARKET_API_KEY="REPLACE-WITH-YOUR-API-HERE"
Learn how to install and use the program through this playground <./notebooks/playground.ipynb>
_.
You can consult the full list on Python Docs.
Fetch CURP details ++++++++++++++++++
.. code-block:: python3
import apimarket
result = apimarket.fetch_curp_details("LOOA531113HTCPBN07") print(result)
You can consult the full list on CLI Docs.
Fetch CURP details +++++++++++++++++++
.. code-block:: bash
apimarket -c LOOA531113HTCPBN07
Combine different requests +++++++++++++++++++++++++++
.. code-block:: bash
apimarket -c LOOA531113HTCPBN07 --get-rfc-from-curp LOOA531113HTCPBN07 | jq -s 'add'
Read a CSV with your customs fields ++++++++++++++++++++++++++++++++++++
csvcut belongs to csvkit library
.. code-block:: bash
csvcut apimarket-consulta.csv -c 'CURP' | xargs -P 8 -I {} apimarket -c {} 2>"error.txt" | jq -s > curps.json
.. _pyscaffold-notes:
Valida CURP API ++++++++++++++++++++++++++++++++++++
Valida CURP API, es una API REST para la obtención y validación de los registros de nacimiento relacionados a la Clave Única de Registro de Población (CURP) en el Registro Nacional de Población (RENAPO) localizados en México en formato JSON. Este endpoint no usa un algoritmo, sino que consulta las fuentes oficiales. Este servicio cumple con la normativa de nuestra parte, te recomendamos leer nuestros nuestros términos y condiciones. Más información en https://apimarket.mx/marketplace/valida-curp
Correo ++++++++++++++++++++++++++++++++++++
Mediante correo electrónico: abdiel@apimarket.mx WhatsApp: https://api.whatsapp.com/message/CEUT72XQ5FKGP1
FAQs
API Market SDK for Python Development
We found that apimarket demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.