Migipedia API

Please note that the API is neither finished nor stable at the moment (and may propably never be :)), but we're keeping hard to provide you with a nice API hopefully soon.

Search Migipedia

Searching the catalog is quite easy, since we're using Solr as a Backend:

A basic query goes like this::
http://www.migipedia.ch/suchen?q=title_ngram:(Pizza)

You may get JSON by adding the qt=autocomplete:
http://www.migipedia.ch/suchen?q=title_ngram:(Pizza)&qt=autocomplete

You can event intend it:
http://www.migipedia.ch/suchen?q=title_ngram:(Pizza)&indent=on&qt=autocomplete

And of course only search in given languages (only de, fr and it provided):
http://www.migipedia.ch/suchen?q=title_ngram:(Pizza)&indent=on&fq=language:de&qt=autocomplete

An result looks like this

{
  "id":"9315d0c8e430/node/17722",
  "title":"Crocchini Pizza",
  "type":"product",
  "path_alias":"lebensmittel/salziges-und-snacks/apero-gebaeck/crocchini-pizza"
}

Get Product-Information

Get Comments