Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/molebox/tweespaces
A node CLI for querying the Twitter spaces API.
https://github.com/molebox/tweespaces
cli node-cli node-js nodejs twitter twitter-api twitter-spaces
Last synced: 24 days ago
JSON representation
A node CLI for querying the Twitter spaces API.
- Host: GitHub
- URL: https://github.com/molebox/tweespaces
- Owner: molebox
- Created: 2021-08-25T09:35:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-06T19:22:45.000Z (about 3 years ago)
- Last Synced: 2024-10-01T18:38:31.006Z (about 1 month ago)
- Topics: cli, node-cli, node-js, nodejs, twitter, twitter-api, twitter-spaces
- Language: JavaScript
- Homepage:
- Size: 261 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🐤 tweespaces
A node CLI for querying the Twitter spaces API.
## Installation
No need to install anything, just use `npx` 🕺
```bash
npx tweespaces --live --query="developer"
```## API Reference
There are 4 flags:
- `--live` - (alias: `--l`) - All spaces that are live now and match the query.
- `--scheduled` - (alias: `--s`) - All spaces that are scheduled to be run and match the query.
- `--query=""` - (alias: `--q=""`) - The keyword to query. This can be any text (including mentions and Hashtags).
- `--host=""` - (alias: `--h=""`) - All spaces that have been scheduled by the given host. This is someones twitter handle. For example `--host="studio_hungry"`### Show all live spaces with "developer" in the title
```bash
npx tweespaces --live --query="developer"
```### Show all scheduled spaces with "developer" in the title
```bash
npx tweespaces --scheduled --query="developer"
```### Show all scheduled spaces from the user "studio_hungry"
```bash
npx tweespaces --host="studio_hungry"
```## Result
!['A GIF of running a tweespace command. Shows the CLI output'](tweespaces.gif)
## Author
- GitHub: [@molebox](https://www.github.com/molebox)
- Twitter: [@studio_hungry](https://twitter.com/studio_hungry)