zoukankan      html  css  js  c++  java
  • 【440】Tweet 元素意义

    参考:Tweet Object

    参考:Geo Objects

    参考:User Object

    Ref: Place data dictionary

    Tweet Object

    Attribute Type Description
    created_at String UTC time
    id Int64 unique identifier
    id_str String unique identifier
    text String actual UTF-8 text
    source String Tweet's source value,e.g. web or phone
    truncated Boolean whether the text was truncated or not
    in_reply_to_status_id Int64 None: not a reply
    or the original Tweet's ID
    in_reply_to_status_id_str String string representation
    in_reply_to_user_id Int64 None: not a reply
    or the original Tweet's author ID
    in_reply_to_user_id_str String string representation
    in_reply_to_screen_name  String None: not a reply
    or the screen name of the original Tweet's author
    user User object The user who posted this Tweet.
    coordinates

    Array of
    Array of
    Array of
    Float

    A series of longitude and latitude points, defining a box which will
    contain the Place entity this bounding box is related to.
    [longitude, latitude]
    four pairs of points
    type String The type of data encoded in the coordinates property.
    This will be "Polygon" for bounding boxes and "Points" for Tweets
    with extra coordinates.
    lang  String  "lang": "en" 
    geo  Object  Deprecated attribute, Tweet geo is formatted as [lat, lon]. 
    place  Places   
         
         

    User Object

    Attribute Type Description
    id Int64 The integer representation of the unique identifier for this User.
    id_str String string representation
    name String The name of the user.
    screen_name String screen_names are unique but subject to change.
    location String The user-defined location for this account's profile. Not necessarily a location, nor machine-parseable.
    geo_enabled Boolean whether this user enable geo or not
         
         
         

    Place data dictionary

    Attribute Type Description
    place_type String The type of location represented by this place.
    "place_type": "city"
    name String Short human-readable representation of the place's name.
    "name": "Manhattan"
    full_name String Short human-readable representation of the place's name.
    "full_name": "Manhattan, NY"
    country_code String Shortened country code representing the country containing this place.
    "country_code": "US"
    country String Name of the country containing this place.
    "country": "United States"
    bounding_box Object A bounding box of coordinates which encloses this place.
    {
      "bounding_box": {
        "coordinates": [
          [
            [
              -74.026675,
              40.683935
            ],
            [
              -74.026675,
              40.877483
            ],
            [
              -73.910408,
              40.877483
            ],
            [
              -73.910408,
              40.3935
            ]
          ]
        ],
        "type": "Polygon"
      }
    }
         
         
         

    Spatio-Temporal realated attributes:

    • created_at
    • coordinates
    • geo
    • user
      • location
      • created_at
      • geo_enabled (deprecated)
    • place
      • name
      • full_name
      • place_type
      • country_code
      • country
      • bounding_box
  • 相关阅读:
    VirtualBox安装
    记一次修改fstab挂载参数
    Debian其实有提供附带了各种桌面的安装镜像
    记一次使用unzip命令
    记一次给iPhone 6越狱
    浅谈.Net中内置的一种特殊的引用类型 -- String类型
    .Net中的静态类和非静态类、静态成员和非静态成员
    .Net子窗体给父窗体传值的几种方法
    int、float、double In .Net之相互转换
    车厢重组
  • 原文地址:https://www.cnblogs.com/alex-bn-lee/p/11602886.html
Copyright © 2011-2022 走看看