Posts Tagged ‘api’

Thaitrend API : Thailand Trending Topics

All APIs are returned in json format. No authentication is required but all api requests are cached so there may have some duplicate result during time.

API URL: http://www.lab.in.th/thaitrend/api/trendings.php

result:

Array
(
    [0] => stdClass Object
        (
            [name] => #RedTweet
            [query] => #RedTweet
        )

    [1] => stdClass Object
        (
            [name] => #SiamArsa
            [query] => #SiamArsa
        )

    [2] => stdClass Object
        (
            [name] => #Thai
            [query] => #Thai
        )

    [3] => stdClass Object
        (
            [name] => #WeLoveThai
            [query] => #WeLoveThai
        )

    [4] => stdClass Object
        (
            [name] => #Bonamanatriplecrown
            [query] => #Bonamanatriplecrown
        )

    [5] => stdClass Object
        (
            [name] => #RedMarch
            [query] => #RedMarch
        )

    [6] => stdClass Object
        (
            [name] => #table
            [query] => #table
        )

    [7] => stdClass Object
        (
            [name] => #ASIAN
            [query] => #ASIAN
        )

    [8] => stdClass Object
        (
            [name] => #ASTV
            [query] => #ASTV
        )

    [9] => stdClass Object
        (
            [name] => #SisaketFC
            [query] => #SisaketFC
        )

)

Trending topics are process from hashtag that has an ‘increasing’ rate in the tweet in about an hour.
So the result will be very different from 1 day statistics.

While we cannot process the vowel for including in the trending
or it’ll replace all hashtag as the hashtag is not much popular to use in Thailand yet.