Sign inSign up

noirbizarre/ofsearch

By noirbizarre

Updated almost 10 years ago

Data loader and search API for french training organizations.

Image
0

467

noirbizarre/ofsearch repository overview

OFSearch

Data loader and search API for french training organizations.

See the official dataset documentation for field explanation.

Requirements

OFSearch requires Python 3

Getting started

pip install -e .
ofsearch -v load ListeOF_20161116.xlsx
ofsearch serve

Query

The full API Documentation is available on a Heroku deployed instance

curl -s http://localhost:8888/organizations/?q=wit | jq
Display
curl -s http://localhost:8888/organizations/SIREN | jq
List specialties
curl -s http://localhost:8888/specialties/ | jq

Docker

Build image with:

docker build -t etalab/ofsearch .

or use the prebuilt image from Docker Hub:

docker pull etalab/ofsearch

Load data using:

docker run -it etalab/ofsearch load https://www.data.gouv.fr/s/resources/url/to/file.xlsx

You can know serve the data with:

docker run -it etalab/ofsearch

Tag summary

Content type

Image

Digest

Size

37.1 MB

Last updated

almost 10 years ago

docker pull noirbizarre/ofsearch