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.3.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for ts-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6ea662389fc373690a2d5cd7d31a7b7a03992d352711f6f8292bdbe85edb51ed
MD5 5981ef17f0d986c45c8528b60c9d2fd9
BLAKE2b-256 a25adce59b659374a04ed09c88f9311fe7dc9881158c70167c183921021e78e0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for ts-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 718a56c4ff4011633bdfc64e24772e339a7d2e0abec989a9bad273c1160c1f8f
MD5 7138fbb3b6f254f089f2ef220a894134
BLAKE2b-256 2a61fc893d383a7a1f9bacad485c63dabdcc9db3172ad35c0698eb47f17a537d

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