Skip to main content

'Search client for OpenData Euskadi'

Project description

This library provides a Python interface for the Euskadi.eus search engine.

Installation

The preferred way of installing is using pip:

pip install scodeu

Usage

This is a minimal search operation in OpenData family for metheorological documents in basque:

>>> import scodeu
>>> client = scodeu.OpenData()
>>> data = client.codified_search(tipo='ds_meteorologicos',
                                  lang='eu')
>>> items = data.get('items')

Families

Documents in euskadi.eus are organized in families. Every family defines its allowed content types and metadata. Metadata is used to filter results inside a content type.

Every families in euskadi.eus are available using scodeu. Best place to see available families, common metadata and allowed types is in the families.py file.

References

Theese are the base documents used to create scodeu

Information about available families, metadata and allowed types.

Search engine users manual (pdf).

Pseudo-REST API information.

LICENSE

This software is licensed as is under GPL v3 license.

CONTRIBUTING

Please send your PR to the projects Github page.

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

scodeu-0.1.tar.gz (21.6 kB view details)

Uploaded Source

File details

Details for the file scodeu-0.1.tar.gz.

File metadata

  • Download URL: scodeu-0.1.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scodeu-0.1.tar.gz
Algorithm Hash digest
SHA256 ed45c6ec7f16b44130d2ee8fcae000b38787285b562743b99a7013beffac17d3
MD5 a9a68c919146ec59adb37864c92e64d4
BLAKE2b-256 ef1d67d4e8a48efbbae61a875a35704cfc748640d6cfa68f5f5d1a07d903c1a9

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