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.4.tar.gz (11.3 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.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for georef-ar-py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3e5b591520bb30069919197543f727681a76c85c5a3dc4ca5fb7c14698a4a30b
MD5 266bc44be8c5b1f61a88464e2da51460
BLAKE2b-256 0a4ce51da28b775bac42a11fce2dbdec2aad6ae619e3c4c9a2163b485dc9c0fa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for georef_ar_py-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c76671a24648d028e137904669cd419fc03bab2b932bd59605e061abd328a33a
MD5 936f417717180069859116762480e358
BLAKE2b-256 afc2d41c71dbe446d1a72a9dca1b78cc42583e76ec2242c26659d9028517c9f0

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