Like to help out with hosting costs for WXForum.net? Use the donate page. Thanks!
0 Members and 1 Guest are viewing this topic.
Is there a code template that we can copy?
Quote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.
Quote from: xcom on February 02, 2016, 03:51:34 PMQuote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.Which is not that difficult
You can also use the API via IFTTT (http://ifttt.com) to post to Twitter and use the widget provided by Twitter on your website.
Quote from: gatewksbury on February 17, 2016, 01:46:31 PMYou can also use the API via IFTTT (http://ifttt.com) to post to Twitter and use the widget provided by Twitter on your website.So awesome!Thanks!!!!
Quote from: Jachym on February 02, 2016, 04:27:27 PMQuote from: xcom on February 02, 2016, 03:51:34 PMQuote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.Which is not that difficult Agreed.I ate a word there
Quote from: xcom on February 02, 2016, 04:28:52 PMQuote from: Jachym on February 02, 2016, 04:27:27 PMQuote from: xcom on February 02, 2016, 03:51:34 PMQuote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.Which is not that difficult Agreed.I ate a word there if interested, here is Tom´s station connected to the plugin, gives current image and more when you click some day in the calendarhttp://donganhillsweather.net/plugins/bloomSky/
Quote from: Jachym on February 18, 2016, 12:00:15 PMQuote from: xcom on February 02, 2016, 04:28:52 PMQuote from: Jachym on February 02, 2016, 04:27:27 PMQuote from: xcom on February 02, 2016, 03:51:34 PMQuote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.Which is not that difficult Agreed.I ate a word there if interested, here is Tom´s station connected to the plugin, gives current image and more when you click some day in the calendarhttp://donganhillsweather.net/plugins/bloomSky/Good job!Looks awesome!
Quote from: xcom on February 18, 2016, 12:16:17 PMQuote from: Jachym on February 18, 2016, 12:00:15 PMQuote from: xcom on February 02, 2016, 04:28:52 PMQuote from: Jachym on February 02, 2016, 04:27:27 PMQuote from: xcom on February 02, 2016, 03:51:34 PMQuote from: waysta on February 02, 2016, 12:15:36 PMIs there a code template that we can copy?This! ^^It will be really to add this code to existing templates.Which is not that difficult Agreed.I ate a word there if interested, here is Tom´s station connected to the plugin, gives current image and more when you click some day in the calendarhttp://donganhillsweather.net/plugins/bloomSky/Good job!Looks awesome!The code is available for those interested on the author's website. It requires PHP and HTML (including the need for JavaScript and jQuery).
Here is the link to the code, http://jeromius.xyz/2016/01/18/working-with-the-bloomsky-api-in-php-and-javascript/ Save the first PHP code, with your API key from BloomSky, as data.php. This gives the data json from your station. Click this link http://jeromi.us/devZone/weather/, then right click to view the html source.
Quote from: jerbo on February 18, 2016, 01:25:22 PMHere is the link to the code, http://jeromius.xyz/2016/01/18/working-with-the-bloomsky-api-in-php-and-javascript/ Save the first PHP code, with your API key from BloomSky, as data.php. This gives the data json from your station. Click this link http://jeromi.us/devZone/weather/, then right click to view the html source.Thanks for the help.I am working on it but cant get there...http://wxdev.txweather.org/index.php?p=BloomSky&lang=en#data-area
Quote from: xcom on February 18, 2016, 02:31:12 PMQuote from: jerbo on February 18, 2016, 01:25:22 PMHere is the link to the code, http://jeromius.xyz/2016/01/18/working-with-the-bloomsky-api-in-php-and-javascript/ Save the first PHP code, with your API key from BloomSky, as data.php. This gives the data json from your station. Click this link http://jeromi.us/devZone/weather/, then right click to view the html source.Thanks for the help.I am working on it but cant get there...http://wxdev.txweather.org/index.php?p=BloomSky&lang=en#data-areaIf you want help, send me a PM
OK, I must be close. All I get is "Loading Data". I have a data.php file in the same folder with my API key.http://www.bismarckweather.net/bloomsky/bloomsky.htm
<br /><b>Warning</b>: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Failed to enable crypto in <b>/home/content/d/z/a/dzastoupil/html/bloomsky/data.php</b> on line <b>16</b><br /><br /><b>Warning</b>: file_get_contents(https://api.bloomsky.com/api/skydata) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: operation failed in <b>/home/content/d/z/a/dzastoupil/html/bloomsky/data.php</b> on line <b>16</b><br />