{"id":16495,"date":"2012-01-24T23:40:09","date_gmt":"2012-01-24T23:40:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/usgs-streamflow-data\/"},"modified":"2012-01-24T23:40:09","modified_gmt":"2012-01-24T23:40:09","slug":"usgs-streamflow-data","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/usgs-streamflow-data\/","author":329146,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.01","stable_tag":"trunk","tested":"3.3.2","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"USGS River Conditions","header_author":"Philip Downer","header_description":"","assets_banners_color":"","last_updated":"2012-01-24 23:40:09","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/philipdowner.com\/","header_plugin_uri":"http:\/\/manifestbozeman.com","header_author_uri":"http:\/\/philipdowner.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1441,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"River data is output as an unordered list. It's up to you to style it.","2":"A static Google map can be included that identifies the precise location the USGS took the measurement."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[29919,63204,63203,63201,63202,9998],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-16495","plugin","type-plugin","status-publish","hentry","plugin_tags-fishing","plugin_tags-kayaking","plugin_tags-rafting","plugin_tags-river-conditions","plugin_tags-streamflow","plugin_tags-usgs","plugin_committers-manifestcreative"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/usgs-streamflow-data.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a WordPress plugin that fetches streamflow and river data from the USGS. It's intended use is for river guides and fishing outfitters to report conditions. It may also be useful for rafting companies and others who offer services related to rivers and streams.<\/p>\n <ul>\n<li><a href=\"http:\/\/waterservices.usgs.gov\/rest\/IV-Service.html\">Documentation on USGS API<\/a><\/li>\n<li><a href=\"http:\/\/waterservices.usgs.gov\/nwis\/iv?format=json,1.1&amp;stateCd=mt&amp;parameterCd=00060,00065,00010&amp;siteType=ST\">Data Source<\/a><\/li>\n<li><a href=\"http:\/\/wdr.water.usgs.gov\/nwisgmap\/index.html\">How to Locate USGS sites<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Begin by specifying the rivers you'd like to display. Identified as an array within the function. <code>&lt;?php $rivers = usgs_fetch_sites(array('jefferson','madison','bighole','beaverhead','ruby'));<\/code> ?&gt;<\/li>\n<li>Choose which data parameters to include (stream discharge, temperature, etc), or leave blank to include all. <code>&lt;?php $data_params = usgs_fetch_dataParameters();<\/code> ?&gt;<\/li>\n<li>Place a call to fetch the JSON from USGS <code>&lt;?php $riverData = usgs_fetch_riverData($rivers,$data_params); ?&gt;<\/code><\/li>\n<li>Display the river data as an unordered list <code>&lt;?php usgs_display_RiverData($riverData,$showMap=false); ?&gt;<\/code><\/li>\n<li>Show a static Google map identifying the locations <code>&lt;?php usgs_display_map($riverData,'riverDataMap','riverMap',650,450,$maptype='terrain',$echo=true); ?&gt;<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Will I be able to use this plugin without modifying my theme?<\/h4>\n <p>No. You'll need to have basic familiarity with PHP, HTML and CSS for this plugin to work as intended. Future releases will attempt to address this and make it more user friendly.<\/p>\n <h4>Do you offer support<\/h4>\n <p>Generally no. If you wish to request support you may do it <a href=\"http:\/\/philipdowner.com\/2012\/01\/usgs-streamflow-data\/\">through my personal site<\/a>. Since this is my first publicly release plugin, if support requests become overwhelming, I'll likely disable support all together.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Public release<\/li>\n<\/ul>","raw_excerpt":"This plugin fetches streamflow and river data from the USGS.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16495"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/manifestcreative"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16495"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16495"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16495"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16495"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16495"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}