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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

Details for the file ts-0.2.2.tar.gz.

File metadata

  • Download URL: ts-0.2.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ts-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3da6b29f88adf9c48187e116604cd384e40e9949d7ead3b0279c72807882fee9
MD5 e68df532ee5c354b7deb1a86cab65e08
BLAKE2b-256 a4ec59c5dea493790a7b8087cfb4b7bddc5cacb94780867451fa6d5fb32dc8b0

See more details on using hashes here.

Provenance

File details

Details for the file ts-0.2.2-py2-none-any.whl.

File metadata

File hashes

Hashes for ts-0.2.2-py2-none-any.whl
Algorithm Hash digest
SHA256 cf1e943c36e65fdbd9f3f3318ab5f8a5ed78edbb8992b16f25c1de36c858600e
MD5 56d86713f0af262e854e84c9363dd0d6
BLAKE2b-256 0278b49cdb5cab97708a05e87bc6203cc9f452a43e91ff0b6e1b458c882f29a7

See more details on using hashes here.

Provenance

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