Giter VIP home page Giter VIP logo

tweespaces's Introduction

๐Ÿค tweespaces

A node CLI for querying the Twitter spaces API.

Installation

No need to install anything, just use npx ๐Ÿ•บ

 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

  npx tweespaces --live --query="developer"

Show all scheduled spaces with "developer" in the title

  npx tweespaces --scheduled --query="developer"

Show all scheduled spaces from the user "studio_hungry"

  npx tweespaces --host="studio_hungry"

Result

'A GIF of running a tweespace command. Shows the CLI output'

Author

tweespaces's People

Contributors

molebox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tweespaces's Issues

Unable to run `npx tws --live --query="developer"`

Heya, really cool CLI idea! Saw your tweet on it ๐Ÿ˜Ž

For some reason I can't run it in my own terminal (tried both PowerShell and Bash).

image

Is there a setup step required?

My node version is v14.15.0

I honestly suspect this might be an issue with my environment, though I have not had this issue before with npx commands...

When I try to query or search for some user shcuelded spaces.

TypeError: Cannot read property 'data' of undefined
at module.exports (/.npm/_npx/162364/lib/node_modules/tweespaces/utils/find-space.js:30:42)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async .npm/_npx/162364/lib/node_modules/tweespaces/index.js:29:3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.