Warning

The username or password typed are wrong.

Warning

You need to insert username and password

Warning

There is something wrong with your username or email...

Warning

There is something wrong with the data you have typed

Warning

Email already taken.

Warning

Username already taken.

Warning

Insert a valid email address.

Warning

You need to insert email and message

Warning

You need to insert name and description app

Warning

You need to insert username, password & email.

Success

Email sent!

Success

You just sent a ThankUmbrella!

Success

Congrats, app created!

Success

App edited correctly!

Warning

Some problem on updating your email. Try again.

Warning

You must accept our TOS for creating an app.

Warning

You must insert a name for this app.

Warning

You must describe this app.

Success

We just sent you an email with all the necessary information to use this service!

Success

Great! You will receive an email upon launch.

Warning

Some problem on saving your data. Try again.

Warning

Some problem on creating the contract of this application, try again.

Warning

The data sent with this form seems corrupted, invalid, or manipulated.

Success

Congrats, contract created. You can create an application with this contract.

Warning

General problem on creating your contract, try again or contact us.

Warning You already subscribed to this plan. You can choose another plan or create an application.
Warning

You have to choose a plan before creating an application.

Weather API & Social weather

Resources

The basic elements of Metwit API Structure are Objects and Resources.

Objects

An Object is the atomic element used in metwit API. Every field contained into an Object has 3 parameters:

  • flag
    Flag: Describe the kind of treatment demanded by the API for the object
  • tag
    Type: Describe the field Object Type
  • openbook
    Documentation: A description of the field

As you can see here:

NAME flag Tag openbook
id guaranteed string unique identifier for the User object
nickname guaranteed string the display name for the user
metags_count guaranteed number the number of metags this user has sentt
  • alert
    Object are conventionally written with a starting capital letter.

The ones used in Metwit API are: User, Metag.

Resources

A Resource is a collection of Object.

Metwit API can perform REST Actions over resources. Like the one down here:

GET /v2/metags/
curl -H "Authorization: Bearer $ACCESS_TOKEN" http://api.metwit.com/v2/metags/ Answer next
 {
    "meta": {
        "limit": 20, 
        "next": null, 
        "offset": 0, 
        "previous": null, 
        "total_count": 1
    }, 
    "objects": [
        {
            "geo": {
                "coordinates": [
                    8.0, 
                    45.0
                ], 
                "type": "Point"
            }, 
            "icon": "http://api.metwit.me/v2/icons/sunny", 
            "id": "717929", 
            "replies_count": 0, 
            "resource_uri": "/v2/metags/717929/", 
            "thanks_count": 0, 
            "timestamp": "2012-11-27T08:22:20.711984", 
            "user": {
                "followers_count": 0, 
                "following_count": 0, 
                "has_facebook": false, 
                "has_twitter": false, 
                "id": "6865", 
                "is_followed": false, 
                "metags_count": 21, 
                "nickname": "test1", 
                "resource_uri": "/v2/users/6865/", 
                "todays_metags_count": 21
            }, 
            "weather": {
                "status": "clear"
            }, 
            "weight": 7189.823675
        }
    ]
}
 
                                
                                

Get the list of metags

  • alert
    Resources in Metwit are written in smaller case.

Here you go with the available resources in Metwit API are

Are you a Developer? Hack the weather in your app with our weather API Weather API