JSON frontend support
See original GitHub issueHi, i love wttr.in
and have been using it for a lot of personal projects lately. I believe wego
supports JSON as an output (specified as a “frontend”, though I haven’t tested this personally). It would be awesome if wttr.in
could support JSON output (or specifying any arbitrary frontend I suppose)… maybe something like:
GET /Buffalo
- buffalo ny weatherGET /Buffalo?frontend=json
- buffalo ny weather with-f json
passed to thewego
command
There might need to be some extra processing by wttr.in
to specify the appropriate headers to the requesting client to let it know the response is JSON.
If there is interest in this I can take a look at the code and see what I can do
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Building Prototype REST API with JSON for Frontend Newbies ...
This article explains how you can create a test REST API with JSON, make it fully ready for consumption and consume with an...
Read more >Is JSON front-end or backend? - Quora
It's a data format standard and not used only by front-end or back-end. In fact, it's widely supported and a replacement for XML....
Read more >JSON only between backend and frontend - Stack Overflow
There are many front end based framework already in market which support a Json very efficiently,some of them are backbone,underscore,angular etc.
Read more >How to filter 1GB JSON on the frontend and not crash ... - Uptech
I had an interesting task: to display 1GB file and 2 million rows of data on the frontend and implement filtering through several...
Read more >JSON and its real world use : r/Frontend - Reddit
I can create a JSON object, but where do I put it? ... APIs to communicate from frontend to backend, you can use...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@xewl Yes, that’s true; thank you for reminding me of this issue. It is fixed now
There appears to be a solution built in: ?format=j1