+1
-1
| { | ||
| "name": "postiz", | ||
| "version": "2.0.7", | ||
| "version": "2.0.8", | ||
| "description": "Postiz CLI - Command line interface for the Postiz social media scheduling API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+29
-0
@@ -175,2 +175,22 @@ # Postiz CLI | ||
| ### Analytics | ||
| **Get platform analytics** | ||
| ```bash | ||
| postiz analytics:platform <integration-id> | ||
| postiz analytics:platform <integration-id> -d 30 | ||
| ``` | ||
| Returns metrics like followers, impressions, and engagement over time for a specific integration/channel. The `-d` flag specifies the number of days to look back (default: 7). | ||
| **Get post analytics** | ||
| ```bash | ||
| postiz analytics:post <post-id> | ||
| postiz analytics:post <post-id> -d 30 | ||
| ``` | ||
| Returns metrics like likes, comments, shares, and impressions for a specific published post. | ||
| --- | ||
| ### Media Upload | ||
@@ -487,2 +507,4 @@ | ||
| | `/public/v1/integration-trigger/:id` | POST | Trigger integration tool | | ||
| | `/public/v1/analytics/:integration` | GET | Get platform analytics | | ||
| | `/public/v1/analytics/post/:postId` | GET | Get post analytics | | ||
| | `/public/v1/upload` | POST | Upload media | | ||
@@ -533,2 +555,3 @@ | ||
| โโโ integrations.ts # Integration commands | ||
| โโโ analytics.ts # Analytics commands | ||
| โโโ upload.ts # Media upload command | ||
@@ -589,2 +612,8 @@ examples/ # Example scripts and JSON files | ||
| # Analytics | ||
| postiz analytics:platform <id> # Platform analytics (7 days) | ||
| postiz analytics:platform <id> -d 30 # Platform analytics (30 days) | ||
| postiz analytics:post <id> # Post analytics (7 days) | ||
| postiz analytics:post <id> -d 30 # Post analytics (30 days) | ||
| # Help | ||
@@ -591,0 +620,0 @@ postiz --help # Show help |
+29
-0
@@ -24,2 +24,3 @@ --- | ||
| 4. **Post** - Create posts with content, media, and platform-specific settings | ||
| 5. **Analyze** - Track performance with platform and post-level analytics | ||
@@ -39,2 +40,6 @@ ```bash | ||
| postiz posts:create -c "Content" -m "image.jpg" -i "<integration-id>" | ||
| # 5. Analyze | ||
| postiz analytics:platform <integration-id> -d 30 | ||
| postiz analytics:post <post-id> -d 7 | ||
| ``` | ||
@@ -117,2 +122,20 @@ | ||
| ### Analytics | ||
| ```bash | ||
| # Get platform analytics (default: last 7 days) | ||
| postiz analytics:platform <integration-id> | ||
| # Get platform analytics for last 30 days | ||
| postiz analytics:platform <integration-id> -d 30 | ||
| # Get post analytics (default: last 7 days) | ||
| postiz analytics:post <post-id> | ||
| # Get post analytics for last 30 days | ||
| postiz analytics:post <post-id> -d 30 | ||
| ``` | ||
| Returns an array of metrics (e.g. Followers, Impressions, Likes, Comments) with daily data points and percentage change over the period. | ||
| ### Media Upload | ||
@@ -614,2 +637,8 @@ | ||
| # Analytics | ||
| postiz analytics:platform <id> # Platform analytics (7 days) | ||
| postiz analytics:platform <id> -d 30 # Platform analytics (30 days) | ||
| postiz analytics:post <id> # Post analytics (7 days) | ||
| postiz analytics:post <id> -d 30 # Post analytics (30 days) | ||
| # Help | ||
@@ -616,0 +645,0 @@ postiz --help # Show help |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
98216
2.13%669
4.53%