diff --git a/main2.php b/main2.php index fc2e269..86194a4 100644 --- a/main2.php +++ b/main2.php @@ -19,6 +19,11 @@ * - service=powerapi: Returns power outage information * - service=searchapi: Returns search results for power outages * - service=ohgo: Returns Ohio traffic information + * - service=newpower: Returns power outage information from the new schema + * - service=newpowerapi: Returns power outage information from the new schema + * - service=newpowerapitest: Returns extended power outage testing data from the new schema + * - service=newsearchapi: Returns search results for power outages from the new schema + * - service=newstormdata: Returns storm data from the new schema * - service=power: Returns power outage information * - service=stormdata: Returns storm data * - service=warntrack: Returns warning tracking data @@ -128,7 +133,8 @@ if (file_exists($serviceFile)) { 'available_services' => [ 'cams', 'camapi', 'camlist', 'admin', 'camcircle', 'db', 'fire', 'individualcam', 'lsr', 'nws', - 'powerapi', 'searchapi', 'ohgo', 'power', + 'powerapi', 'searchapi', 'ohgo', 'power', 'newpower', + 'newpowerapi', 'newpowerapitest', 'newsearchapi', 'newstormdata', 'stormdata', 'warntrack', 'ver', 'update_field', 'mp4', 'camobs', 'single', 'powerapitest' ], diff --git a/php/main.php b/php/main.php deleted file mode 100644 index 86194a4..0000000 --- a/php/main.php +++ /dev/null @@ -1,144 +0,0 @@ - 'Invalid service parameter. Please provide a valid service.', - 'available_services' => [ - 'cams', 'camapi', 'camlist', 'admin', 'camcircle', - 'db', 'fire', 'individualcam', 'lsr', 'nws', - 'powerapi', 'searchapi', 'ohgo', 'power', 'newpower', - 'newpowerapi', 'newpowerapitest', 'newsearchapi', 'newstormdata', - 'stormdata', 'warntrack', 'ver', 'update_field', 'mp4', - 'camobs', 'single', 'powerapitest' - ], - 'documentation' => 'See main.php file for detailed documentation on each service.' - ]); -} -?> \ No newline at end of file