Packages

trait TwitterTrendClient extends AnyRef

Implements the available requests for the trends resource.

Source
TwitterTrendClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterTrendClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val restClient: RestClient
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def closestLocationTrends(latitude: Double, longitude: Double): Future[RatedData[Seq[Location]]]

    Returns the locations that Twitter has trending topic information for, closest to a specified location.

    Returns the locations that Twitter has trending topic information for, closest to a specified location. The response is an array of “locations” that encode the location’s WOEID and some other human-readable information such as a canonical name and country the location belongs in. A WOEID is a Yahoo! Where On Earth ID. For more information see https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-closest.

    latitude

    : If provided with a longitude parameter the available trend locations will be sorted by distance, nearest to furthest, to the co-ordinate pair. The valid ranges for longitude is -180.0 to +180.0 (West is negative, East is positive) inclusive.

    longitude

    : If provided with a latitude parameter the available trend locations will be sorted by distance, nearest to furthest, to the co-ordinate pair. The valid ranges for longitude is -180.0 to +180.0 (West is negative, East is positive) inclusive.

    returns

    : The sequence of locations that Twitter has trending topic information for.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def globalTrends(exclude_hashtags: Boolean = false): Future[RatedData[Seq[LocationTrends]]]

    Returns the top 10 global trending topics.

    Returns the top 10 global trending topics. The response is an array of “trend” objects that encode the name of the trending topic, the query parameter that can be used to search for the topic on Twitter Search, and the Twitter Search URL. This information is cached for 5 minutes. Requesting more frequently than that will not return any more data, and will count against your rate limit usage. For more information see https://developer.twitter.com/en/docs/trends/trends-for-location/api-reference/get-trends-place.

    exclude_hashtags

    : By default it is false. Setting this to true will remove all hashtags from the trends list.

    returns

    : The representation of the location trends.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def locationTrends(): Future[RatedData[Seq[Location]]]

    Returns the locations that Twitter has trending topic information for.

    Returns the locations that Twitter has trending topic information for. The response is an array of “locations” that encode the location’s WOEID and some other human-readable information such as a canonical name and country the location belongs in. A WOEID is a Yahoo! Where On Earth ID. For more information see https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-available.

    returns

    : The sequence of locations that Twitter has trending topic information for.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def trends(woeid: Long, exclude_hashtags: Boolean = false): Future[RatedData[Seq[LocationTrends]]]

    Returns the top 10 trending topics for a specific WOEID, if trending information is available for it.

    Returns the top 10 trending topics for a specific WOEID, if trending information is available for it. The response is an array of “trend” objects that encode the name of the trending topic, the query parameter that can be used to search for the topic on Twitter Search, and the Twitter Search URL. This information is cached for 5 minutes. Requesting more frequently than that will not return any more data, and will count against your rate limit usage. For more information see https://developer.twitter.com/en/docs/trends/trends-for-location/api-reference/get-trends-place.

    woeid

    : The Yahoo! Where On Earth ID of the location to return trending information for. Global information is available by using 1 as the WOEID.

    exclude_hashtags

    : By default it is false. Setting this to true will remove all hashtags from the trends list.

    returns

    : The representation of the location trends.

  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped