Skip to main content

A collection of commnad line tools to automate various online marketing processes

Project description

Birdhouse Toolbox

Description

Command line tools automate various online marketing processes.

Installation

pip install birdhouse_toolbox

Usage

Wordpress

  • get-post: Returns the post as JSON.
    bht --url <site_url> wordpress get-post --id <post_id>
    
  • get-posts: Reurns a list of posts as JSON.
    bht --url <site_url> wordpress get-posts
    
  • add-post: Adds a new post using the title and body provided, by duplicating the last published post.
    bht --url <site_url> wordpress add-post --title <title> --markup <markup>
    
  • authenticate: Authenticates the username and password with the website, saves the credentials, and a JSON web token for future use. Will re-use saved credentials if none are provided.
    bht --url <site_url> wordpress authenticate (--username <username> --password <password>)
    

Analytics

  • get-report: Returns the report data for the specified date range.
    bht --url <site_url> analytics get-report --start <start_date> --end <end_date> (--template <path_to_template> --output <path_for_output_pdf>)
    
  • authenticate: Authenticates the username and password with the website, saves the credentials, and a JSON web token for future use. Will re-use saved credentials if none are provided.
    bht --url <site_url> analytics authenticate (--username <username> --password <password>)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birdhouse_toolbox-0.2.0.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

birdhouse_toolbox-0.2.0-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page