Skip to content

Lynextion/Twitter-Trend

Repository files navigation

MIT License

Twitter-Trends

This api collects twitter trends around the world, or you can collect trends country based

API Reference

Get all items

GET /

| Parameter | Type | Description | |Optional| | :-------- | :------- | :------------------------- | |;-------| | No Parameter | string | Collects worldwide twitter trend | | False | |Limit | int | Limit the data entry | | True |

Get item

GET /trend/${country}

| Parameter | Type | Description | |Optional| | :-------- | :------- | :-------------------------------- | |;-------| | country | string | Collects twitter trends from selected country | | False | |Limit | int | Limit the data entry | | True |

GET /getinfo/${country}/${trend}
Parameter Type Description
coutry,trend string more info about trend
POST /findTrend/:country
Parameter Type Description
coutry,trend string more info about trend
You have to send json file which you want to find specific trends

Installation

Install my-project with npm

  npm install tweet-trend
  cd tweet-trend