Replies: 2 comments
-
You can use /products?location={WFO}. It returns a lot of data by default, so you may want to include time and/or limit parameters also. You also get products that normally aren't useful to us mere mortals (like HADS Data), so there might be some filtering of the data you receive. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks so much for the tip @JJKraw - I can work with that!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👋 I'm wondering if it's possible to get all products for a given location? I'd like to be able to hit a
/products/locations/{locationId}
endpoint (which currently returns a 404). This seems like the only missing "products / types / locations" permutation! I'd imagine it would be similar to the existing/products/types/{typeId}
endpoint?I'm basically looking for an API-based way to mirror the functionality the WFO sites use for their "Latest Text Products Issued by {WFO}" dropdown lists (e.g., Seattle, Las Vegas). The only alternative I can think of is to hit
/products/locations/SEW/types
, then loop through the returned type IDs to hit/products/types/{typeId}/locations/SEW
to pull each type ID's latest product info...Beta Was this translation helpful? Give feedback.
All reactions