You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23โ€“26.RSVP โ†’
Socket
Book a DemoSign in
Socket

postiz

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postiz - npm Package Compare versions

Comparing version
2.0.7
to
2.0.8
+1
-1
package.json
{
"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",

@@ -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

@@ -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