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

    random_twick

    Markus Möller

    URL:

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

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

    Function:

    Retrieves one or more random Twicks.

    Parameters:

    Optional/required Values Default Description
    limit optional Integer > 0 1 Number of Twicks that should be returned.
    username optional String all users Online return Twicks writen by this user.
    best optional Boolean 1 or 0 0 Online return Twicks, which are the best rated ones for a topic.
    lng optional "de", "en" preferred browser language Language in which should be searched.

    Output (XML):

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

    <?xml version="1.0" encoding="utf-8"?>
    <result>
      <query>type=xml</query>
      <topics>
          <topic>
            <id>266</id>
            <title>Gefangenen-Dilemma</title>
            <url>http://twick.it/de/Gefangenen-Dilemma</url>
            <tags>
              <tag count="2">verhalten</tag>
              <tag count="1">ergebnissen</tag>
              <tag count="1">zeigt</tag>
              <tag count="1">rationales</tag>
              <tag count="1">schlechten</tag>
              <tag count="1">paradoxon</tag>
              <tag count="1">individuell</tag>
              <tag count="1">spieletheorie</tag>
              <tag count="1">spieler</tag>
              <tag count="1">vertrauens</tag>
            </tags>
            <geo>
              <latitude></latitude>
              <longitude></longitude>
            </geo>
            <twick>
              <id>449</id>
              <acronym></acronym>
              <text>Paradoxon aus der Spieletheorie. Zeigt, dass 2 Spieler durch individuell rationales
                    Verhalten zu kollektiv schlechten Ergebnissen kommen.</text>
              <link>http://www.iterated-prisoners-dilemma.net/</link>
              <url>http://twick.it/de/Gefangenen-Dilemma#449</url>
              <standalone_url>
    
    http://twick.it/twick/de/Gefangenen-Dilemma/derlangemarkus/449
    
              </standalone_url>
              <creation_date>2009-07-07 06:15:52</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/random_twick.json

    {
      "query" : "type=json",
      "topics" : [
        {
          "topic" : {
            "id" : "807",
            "title" : "auf den Punkt kommen",
            "url" : "http://twick.it/de/auf-den-Punkt-kommen",
            "tags" : [
              {
                "tag" : "große",
                "count" : 1
              },
              {
                "tag" : "formuliert",
                "count" : 1
              },
              {
                "tag" : "aussage",
                "count" : 1
              },
              {
                "tag" : "kern",
                "count" : 1
              },
              {
                "tag" : "ohne",
                "count" : 1
              },
              {
                "tag" : "besagt",
                "count" : 1
              },
              {
                "tag" : "redewendung",
                "count" : 1
              },
              {
                "tag" : "stattdessen",
                "count" : 1
              },
              {
                "tag" : "umhergeredet",
                "count" : 1
              },
              {
                "tag" : "lange",
                "count" : 1
              }
            ],
            "geo" : {
                "latitude" :  "",
                "longitude"  : ""
            },
            "twick" : {
              "id" : 1092,
              "acronym" : "",
              "text" : "Redewendung, die besagt, dass nicht lange umhergeredet wird. Stattdessen
                        wird ohne große Umschweife der Kern der Aussage formuliert.",
              "link" : "",
              "url" : "http://twick.it/de/auf-den-Punkt-kommen#1092",
              "standalone_url" : "",
              "creation_date" : "2009-08-02 12:38:10",
              "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 10.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