get-top-posts
Retrieve the most viewed posts and pages from a WordPress site by specifying a time period and limit. Authenticate with a username and application password to access site statistics programmatically.
Instructions
View a site's top posts and pages by views
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of posts to return | |
password | Yes | WordPress application password | |
period | No | Time period for stats | |
siteId | Yes | WordPress site ID | |
siteUrl | Yes | WordPress site URL | |
username | Yes | WordPress username |