

- #Lightning map us how to#
- #Lightning map us archive#
- #Lightning map us code#
- #Lightning map us series#
The available options include:įormat=json - Standard JSON output. When combined with the radius parameter, donut style queries can be made for point data, such as lightning.ĭefines the API output format. If no unit is provided, your value is assumed to be in meters by default. A valid unit value must be included in your minimum radius value, e.g., "5mi", "10km", or "25miles". When requesting the closest results within a circle, the minradius determines how far from the specified location to search to begin searching results. Most endpoints utilize a default radius of 50 miles, though some endpoints, such as lightning, may have tighter restrictions specified. A valid unit value must be included in your radius value, e.g., "5mi", "10km", "25miles". When requesting the closest results within a circle, the radius determines how far from the specified location to search. This parameter is often used to limit the amount of data returned. Provides a comma separated list of values for the API to return. When used in conjunction with the from parameter, the value of to will be relative to the value of from, not relative to the current time. For best practices we recommend using the from parameter as well to define a specific time frame. Returns the results between now and the value specified. The maximum from offset for this endpoint is -5minutes.

Alternatively, common date formats supported by the PHP strtotime() function will be accepted however, commas are not accepted. Supports a UNIX timestamp or a specific date string. For best practices we recommend using the to parameter as well to define a specific time frame. Returns the results starting from the value specified. The filter value can be a single, comma-delimited or a semicolon delimited string of filter names. Predefined filters for limiting the results. Used to sort results based on certain fields in the data set. Used to skip over a specific number of results in the data set. The maximum limit for this endpoint is 1000. Each endpoint may have a set maximum for this value depending on usage. The total number of results to return as an integer. Refer to the list of supported place value formats. The following parameters are optional unless otherwise noted: pĭefines the location to query data for. The route will return an array of GeoJSON points with the requested data for each point.
#Lightning map us series#
The route is a series of locations, usually latitude/longitudes provided via the p query parameter or for longer routes via GeoJSON within a POST request. This can be useful to obtain weather information along a transportation route, trails and more. The route action returns data for points along a given route. If your request does not return results, you may try setting or increasing the radius being used. If no limit is provided in the request, then only the closest single result will be returned. The closest action will query the API for data that is closest to the requested place and return the results, if any, in order from closest to farthest.
#Lightning map us how to#
Refer to an endpoint's detailed documentation for specific information regarding how to use the :id action. Other endpoints may expect a certain value for the ID, such as storm cells whose ID value is a combination of the radar site identifier and unique identifier assigned to every storm cell.
#Lightning map us code#
This is the primary method for requesting general weather information for a single location (observations, forecasts, advisories, etc.) as the location's name or a zip code serves as the id. Requesting data by using the :id action is used for returning data for a particular item that has an ID associated with it. The following actions are supported with the lightning endpoint: :id Please note using the skip parameter will pull the next 1000 strikes. Up to 1000 lightning strikes can be retrieved in a single query.
#Lightning map us archive#
Lighting data archive available from January 1, 2016, through today.Lighting strike/pulse information can return up to 24 hours of data per API query.The maximum radius value that may be utilized is 100km (~62 miles).The lightning API endpoint has the following limitations:
