From 6ff70b291b35c7fe8dcad977e53ef3384b423b4b Mon Sep 17 00:00:00 2001 From: Jamie0 Date: Sat, 2 May 2020 22:36:46 +0100 Subject: [PATCH] bump to 1.0 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4098c19..a1c9d67 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,12 @@ Add some shortcode to your schedule page. See API below for a full list. A few simple API methods are available. We have no issue with these being public, but you may remove the api.php file if you wish to prevent this. `http://localhost/wp-content/plugins/showplan/api.php?method=get_upcoming&station_id=1` + `http://localhost/wp-content/plugins/showplan/api.php?method=get_show&show_id=1&station_id=1` -`http://localhost/wp-content/plugins/showplan/api.php?method=get_schedule&station_id=1&days=4` (note: includes 3 days of previous history, days value inclusive of this - so use 4 + days into future) + +`http://localhost/wp-content/plugins/showplan/api.php?method=get_schedule&station_id=1&days=4` + +(note: includes 3 days of previous history, days value inclusive of this - so use 4 + days into future) The database is designed to allow non-complicated reading from anything capable of connecting to a MySQL server. See the `$prefix_compiled_times` table for more (start_time and end_time are always UTC, start_time_local is based on the WordPress site's timezone)