tweespaces
Advanced tools
Comparing version 0.0.21 to 0.0.22
{ | ||
"name": "tweespaces", | ||
"description": "Lookup Twitter spaces by keyword", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -17,3 +17,5 @@ require('dotenv').config(); | ||
const result = await response.json(); | ||
console.log(result.spaces) | ||
const spinner = new Spinner(dim('Searching for spaces.....')); | ||
@@ -23,3 +25,3 @@ | ||
const hasResult = result.meta.result_count !== 0 ? true : false; | ||
const hasResult = result.spaces.meta.result_count !== 0 ? true : false; | ||
@@ -39,3 +41,3 @@ spinner.stop(true); | ||
const spaceInfo = result.data.map(({ | ||
const spaceInfo = result.spaces.data.map(({ | ||
participant_count, | ||
@@ -54,3 +56,3 @@ scheduled_start, | ||
const creatorInfo = result.includes.users.map(({ | ||
const creatorInfo = result.spaces.includes.users.map(({ | ||
name, | ||
@@ -57,0 +59,0 @@ username, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6824
180