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 Distributions

scodeu-0.3.zip (24.8 kB view hashes)

Uploaded Source

scodeu-0.3.tar.gz (21.6 kB view hashes)

Uploaded Source

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