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.

Files for birdhouse-toolbox, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size birdhouse_toolbox-0.2.0-py3-none-any.whl (21.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size birdhouse_toolbox-0.2.0.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page