en
Deutsch Deutsch English English
You are not logged in. Please log in now.
 
 
Forgot password |  Send registration mail again |  Create account

    Twick.it-Blog

    search_twick

    Markus Möller

    URL:

    http://twick.it/interfaces/api/search_twick.xml

    http://twick.it/interfaces/api/search_twick.json

    Function:

    Retrieves all Twicks, which contain a given search term.

    Parameters:

    Optional/required Values Default Description
    search required String Search term which just be contained in the Twicks.
    limit optional Integer unlimited Number of topics. A number less or equal 0 means no limitation.
    lng optional "de", "en" preferred browser language Language in which should be searched.

    Output (XML):

    http://twick.it/interfaces/api/search_twick.xml?search=Homer

    <?xml version="1.0" encoding="utf-8"?>
    <result>
      <query>type=xml&search=Homer</query>
      <topics>
        <topic>
          <id>296</id>
          <title>Sektor 7G</title>
          <url>http://twick.it/de/Sektor-7G</url>
          <tags>
            <tag count="1">sicherheitsinspektor</tag>
            <tag count="1">homer</tag>
            <tag count="1">simpsons</tag>
            <tag count="1">abteilung</tag>
            <tag count="1">zeichentrickserie</tag>
            <tag count="1">springfield</tag>
            <tag count="1">atomkraftwerkv</tag>
            <tag count="1">sektor</tag>
            <tag count="1">7g</tag>
            <tag count="1">simpson</tag>
          </tags>
          <geo>
            <latitude></latitude>
            <longitude></longitude>
          </geo>
          <twick>
            <id>490</id>
            <acronym></acronym>
            <text>Abteilung im Atomkraftwerk von Springfield in der Zeichentrickserie "Die Simpsons".
                  Homer Simpson ist Sicherheitsinspektor im Sektor 7G.</text>
            <link></link>
            <url>http://twick.it/de/Sektor-7G#490</url>
            <standalone_url>http://twick.it/twick/de/Sektor-7G/derlangemarkus/490</standalone_url>
            <creation_date>2009-07-08 20:46:46</creation_date>
            <rating>
              <count>1</count>
              <sum>1</sum>
              <ratio>100</ratio>
            </rating>
            <user>
              <gravatar>http://www.gravatar.com/...</gravatar>
              <name>derlangemarkus (Markus Möller)</name>
              <url>http://twick.it/user/derlangemarkus</url>
            </user>
          </twick>
        </topic>
        <topic>
          <id>292</id>
          <title>Spiderschwein</title>
          <url>http://twick.it/de/Spiderschwein</url>
          <tags>
            <tag count="1">unsinn</tag>
            <tag count="1">lässt</tag>
            <tag count="1">laufen</tag>
            <tag count="1">filmrollen</tag>
            <tag count="1">film</tag>
            <tag count="1">schwein</tag>
            <tag count="1">parodiert</tag>
            <tag count="1">homer</tag>
            <tag count="1">simpsons</tag>
            <tag count="1">spiderman</tag>
          </tags>
          <geo>
            <latitude></latitude>
            <longitude></longitude>
          </geo>
          <twick>
            <id>484</id>
            <acronym></acronym>
            <text>Schwein aus dem Film "Simpsons - Der Film". Homer parodiert mit ihm Filmrollen.
                  U.a. auch Spiderman, indem er es an der Decke laufen lässt.</text>
            <link>http://video.google.de/videosearch?source=ig&hl=de&rlz=&q=spiderschwein&lr=&um=1
                  &ie=UTF-8&ei=MzhUSuSoJoeemwOu9MgF&sa=X&oi=video_result_group&ct=title&resnum=4</link>
            <url>http://twick.it/de/Spiderschwein#484</url>
            <standalone_url>http://twick.it/twick/de/Spiderschwein/derlangemarkus/484</standalone_url>
            <creation_date>2009-07-08 08:07:07</creation_date>
            <rating>
              <count>0</count>
              <sum>0</sum>
              <ratio>0</ratio>
            </rating>
            <user>
              <gravatar>http://www.gravatar.com/...</gravatar>
              <name>derlangemarkus (Markus Möller)</name>
              <username>derlangemarkus</username>
              <url>http://twick.it/user/derlangemarkus</url>
            </user>
          </twick>
        </topic>
        <topic>
          <id>294</id>
          <title>Die Simpsons</title>
          <url>http://twick.it/de/Die-Simpsons</url>
          <tags>
            <tag count="1">charakteristisch</tag>
            <tag count="1">us</tag>
            <tag count="1">groening</tag>
            <tag count="1">matt</tag>
            <tag count="1">zeichentrickserie</tag>
            <tag count="1">amerikanische</tag>
            <tag count="1">gelbe</tag>
            <tag count="1">haut</tag>
            <tag count="1">marge</tag>
            <tag count="1">figuren</tag>
          </tags>
          <geo>
            <latitude></latitude>
            <longitude></longitude>
          </geo>
          <twick>
            <id>488</id>
            <acronym></acronym>
            <text>US-amerikanische Zeichentrickserie von Matt Groening. Charakteristisch ist die
                  gelbe Haut der Figuren. Homer, Marge, Bart, Lisa und Maggie.</text>
            <link>http://www.thesimpsons.com/index.html</link>
            <url>http://twick.it/de/Die-Simpsons#488</url>
            <standalone_url>http://twick.it/twick/de/Die-Simpsons/derlangemarkus/488</standalone_url>
            <creation_date>2009-07-08 20:40:09</creation_date>
            <rating>
              <count>0</count>
              <sum>0</sum>
              <ratio>0</ratio>
            </rating>
            <user>
              <gravatar>http://www.gravatar.com/...</gravatar>
              <name>derlangemarkus (Markus Möller)</name>
              <username>derlangemarkus</username>
              <url>http://twick.it/user/derlangemarkus</url>
            </user>
          </twick>
        </topic>
      </topics>
    </result>

    Output (JSON):

    http://twick.it/interfaces/api/explain.json?search=Fliege

    {
      "query" : "type=json&search=Homer",
      "topics" : [
          {
          "topic" : {
            "id" : "296",
            "title" : "Sektor 7G",
            "url" : "http://twick.it/de/Sektor-7G",
            "tags" : [
              {
                "tag" : "homer",
                "count" : 1
              },
              {
                "tag" : "7g",
                "count" : 1
              },
              {
                "tag" : "sektor",
                "count" : 1
              },
              {
                "tag" : "simpson",
                "count" : 1
              },
              {
                "tag" : "atomkraftwerk",
                "count" : 1
              },
              {
                "tag" : "abteilung",
                "count" : 1
              },
              {
                "tag" : "zeichentrickserie",
                "count" : 1
              },
              {
                "tag" : "springfield",
                "count" : 1
              },
              {
                "tag" : "sicherheitsinspektor",
                "count" : 1
              }
            ],
            "geo" : {
                "latitude" :  "",
                "longitude"  : ""
            },
            "twick" : {
              "id" : 490,
              "acronym" : "",
              "text" : "Abteilung im Atomkraftwerk von Springfield in der Zeichentrickserie
                       \"Die Simpsons\". Homer Simpson ist Sicherheitsinspektor im Sektor 7G.",
              "link" : "",
              "url" : "http://twick.it/de/Sektor-7G#490",
              "standalone_url" : "",
              "creation_date" : "2009-07-08 20:46:46",
              "rating" : {
                "count" : 1,
                "sum" : 1,
                "ratio" : 100          },
              "user" : {
                "gravatar" : "http://www.gravatar.com/...",
                "name" : "derlangemarkus (Markus Möller)",
                "username" : "derlangemarkus",
                "url" : "http://twick.it/user/derlangemarkus"
              }
            }
          }
        },
        {
          "topic" : {
            "id" : "292",
            "title" : "Spiderschwein",
            "url" : "http://twick.it/de/Spiderschwein",
            "tags" : [
              {
                "tag" : "unsinn",
                "count" : 1
              },
              {
                "tag" : "lässt",
                "count" : 1
              },
              {
                "tag" : "laufen",
                "count" : 1
              },
              {
                "tag" : "filmrollen",
                "count" : 1
              },
              {
                "tag" : "film",
                "count" : 1
              },
              {
                "tag" : "schwein",
                "count" : 1
              },
              {
                "tag" : "parodiert",
                "count" : 1
              },
              {
                "tag" : "homer",
                "count" : 1
              },
              {
                "tag" : "simpsons",
                "count" : 1
              },
              {
                "tag" : "spiderman",
                "count" : 1
              }
            ],
            "geo" : {
                "latitude" :  "",
                "longitude"  : ""
            },
            "twick" : {
              "id" : 484,
              "acronym" : "",
              "text" : "Schwein aus dem Film \"Simpsons - Der Film\". Homer parodiert mit ihm Filmrollen.
                       U.a. auch Spiderman, indem er es an der Decke laufen lässt.",
              "link" : "http://video.google.de/videosearch?source=ig&hl=de&rlz=&q=spiderschwein&lr=&
                        um=1&ie=UTF-8&ei=MzhUSuSoJoeemwOu9MgF&sa=X&oi=video_result_group&ct=title&resnum=4",
              "url" : "http://twick.it/de/Spiderschwein#484",
              "standalone_url" : "",
              "creation_date" : "2009-07-08 08:07:07",
              "rating" : {
                "count" : 0,
                "sum" : 0,
                "ratio" : 0
              },
              "user" : {
                "gravatar" : "http://www.gravatar.com/...",
                "name" : "derlangemarkus (Markus Möller)",
                "username" : "derlangemarkus",
                "url" : "http://twick.it/user/derlangemarkus"
              }
            }
          }
        },
        {
          "topic" : {
            "id" : "294",
            "title" : "Die Simpsons",
            "url" : "http://twick.it/de/Die-Simpsons",
            "tags" : [
              {
                "tag" : "charakteristisch",
                "count" : 1
              },
              {
                "tag" : "us",
                "count" : 1
              },
              {
                "tag" : "groening",
                "count" : 1
              },
              {
                "tag" : "matt",
                "count" : 1
              },
              {
                "tag" : "zeichentrickserie",
                "count" : 1
              },
              {
                "tag" : "amerikanische",
                "count" : 1
              },
              {
                "tag" : "gelbe",
                "count" : 1
              },
              {
                "tag" : "haut",
                "count" : 1
              },
              {
                "tag" : "marge",
                "count" : 1
              },
              {
                "tag" : "figuren",
                "count" : 1
              }
            ],
            "geo" : {
                "latitude" :  "",
                "longitude"  : ""
            },
            "twick" : {
              "id" : 488,
              "acronym" : "",
              "text" : "US-amerikanische Zeichentrickserie von Matt Groening. Charakteristisch
                        ist die gelbe Haut der Figuren. Homer, Marge, Bart, Lisa und Maggie.",
              "link" : "http://www.thesimpsons.com/index.html",
              "url" : "http://twick.it/de/Die-Simpsons#488",
              "standalone_url" : "",
              "creation_date" : "2009-07-08 20:40:09",
              "rating" : {
                "count" : 0,
                "sum" : 0,
                "ratio" : 0
              },
              "user" : {
                "gravatar" : "http://www.gravatar.com/...",
                "name" : "derlangemarkus (Markus Möller)",
                "username" : "derlangemarkus",
                "url" : "http://twick.it/user/derlangemarkus"
              }
            }
          }
        }
      ]
    }


    Created at 11.11.2009 | Comments (0)

    No Comments


    Leave a comment

     
     

    Submit Comment
     

    Categories:

    • General
    • Official
    • Tips4Twicks

    Pages:

    • FAQ
    • Concept
    • Charter
    • Terms
    • Article overview
    • Press
    • Press reviews
    • Photos
    • For developers / API
    • REST-API
    • explain
    • favorites
    • find_topic_by_tag
    • find_topic
    • find_topics_nearby
    • find_twick
    • find_twicks_from_user
    • find_user
    • latest_twicks
    • random_twick
    • random_topic
    • search_twick
    • PHP
    • Twitter
    • Imprint

    Search:


    Search

    Comments:

    • Cowboy: Long time since I heard that one.
    • Helen Ryan: Smarty Pants Andy Pandy ...

    Tag-Cloud

    140 characters augmented reality awards CeBIT competition concept definitions encyclopaedia explanations information theory knowledge microblogging press social glossary Tool Tip Twitter Twittwoch Webciety Wikipedia Wikitude

    WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

    2D

    140 characters augmented reality awards CeBIT competition concept definitions encyclopaedia explanations information theory knowledge microblogging press social glossary Tool Tip Twitter Twittwoch Webciety Wikipedia Wikitude
    3D

    RSS

    • Blog posts
    • Comments
    Tweet

    No responsibility is taken for the correctness of this information. Creative Commons License

    > FAQ > Charta

    > API documentation > Tops4Twicks

    > Twitter > Support

    > Terms > Imprint

    > Press > Mobile website