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
Built Distribution
Close
Hashes for birdhouse_toolbox-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec22587d827defd37a3c22a668cdf4d68c2221b25c24cc0dacf256a84798a143 |
|
MD5 | 70e7de131743a4aa91f121bc8d8a7b01 |
|
BLAKE2b-256 | fa6aba77488959d460b0fd28db513ca96b83fbc7c7c30ce0da604ff1e0448ddf |