Skip to main content

Paquete para consultas y procesamiento de respuestas sobre la API de georef-ar

Project description

georef-ar-py

Paquete para consultas y procesamiento de respuestas sobre la API de georef-ar

Installation

Install from PyPi:

pip install georef-ar-py

Para usar la line a de comandos:

pip install "georef-ar-py[cli]"

Ejemplo de uso por linea de comando:

geoarpy --help

Usage: geoarpy [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  diff  georef-ar-py diff Commandline
  info  georef-ar-py diff Commandline

Obtener un resumen de una API

Usage: geoarpy info [OPTIONS]

  geoarpy info Commandline

  Obtienen un resumen de los registros en la API especificada

  url es el path a la API destino que se quiere consultar.

Options:
  --url TEXT  [default: https://apis.datos.gob.ar/georef/api/]
  --debug
  --help      Show this message and exit.

Obtener los datos de una API propia

geoarpy info --url "http://mi-api.ar/georef/api/"

Obtener los datos de la API oficial (https://apis.datos.gob.ar/georef/api/)

geoarpy info

Obtener las diferencias entre dos API's

Usage: geoarpy diff [OPTIONS] URL

  geoarpy diff Commandline

  Calcula las diferencias de registros entre dos API's. Guarda el resultado en
  archivos de formato csv y/o json.

  url es el path a la API destino que se quiere comparar.

Options:
  --origin_url TEXT               [default:
                                  https://apis.datos.gob.ar/georef/api/]
  --layer [provincias|departamentos|municipios|localidades-censales|asentamientos|localidades|calles]
                                  [default: all]
  --extension [json|csv|both]     [default: both]
  --debug
  --help                          Show this message and exit.

Comparar los datos de una API propia contra la API oficial

geoarpy diff "http://mi-api.ar/georef/api/"

Comparar los datos entre dos API's

geoarpy diff "http://mi-api_1.ar/georef/api/" --origin-url "http://mi-api_2.ar/georef/api/"

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

georef-ar-py-0.0.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

georef_ar_py-0.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file georef-ar-py-0.0.2.tar.gz.

File metadata

  • Download URL: georef-ar-py-0.0.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for georef-ar-py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a93e00ea0eed3b77889c7f2c0fb30d8ddd79715f735aa7ce559675af6e28c492
MD5 346ef84e352dde875511844744a3679e
BLAKE2b-256 61e20d88a90eb4958c49602f54b764c0972df6c80d5559ba3d64a31c02503f89

See more details on using hashes here.

File details

Details for the file georef_ar_py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: georef_ar_py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for georef_ar_py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 254edc919a7453032b11b6a00fdaeec700bece72457d0907c882266ba772320b
MD5 1202a4879c7c05d4585230aee7aab498
BLAKE2b-256 fe9d682ef5e3bcd918a77dbbe98b4ba77a05c52b35ed518d51564d52de8bb96d

See more details on using hashes here.

Supported by

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