Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
bump to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie0 committed May 2, 2020
1 parent 8e8ccfa commit 6ff70b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6ff70b2

Please sign in to comment.