Skip to main content

Twitter Search CLI

Project description

# ts

![Screen Shot](screenshot.png)

Twitter Search CLI

## Install

pip install ts

## Usage

Before actual usage, you need to initialize config file first:

ts –init

The first time you run ts, it will guide you through an OAuth authentication process. The tokens will be stored at ~/.ts.config.json, any time you want to, run:

ts -a

to make authentication again and update the tokens.

The search syntax is the same as [Twitter Web Search](https://twitter.com/search-home) or [Twitter Search API](https://dev.twitter.com/rest/public/search). Here are some common search query examples:

  1. Find what a person had said:

    ts ‘from:NASA Elon Musk’

  2. Find what people said to a person in a topic:

    ts ‘#Hearthstone to:bdbrode’

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ts-0.2.2.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

ts-0.2.2-py2-none-any.whl (10.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page