JSON output
See original GitHub issueHi! I love wttr.in! Im use one for my polybar script and dosnt have problems, but now im try use json output in js script (for my home page). Im catch response error in console
Uncaught (in promise) SyntaxError: Unexpected end of input at eval
code:
const w = fetch("http://wttr.in/?format=j1", { mode: "no-cors" })
.then(r => r.json())
.then(data => console.log(data));
Im do some wrong?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
JSON output - Puppet
This command outputs an array of objects. Each object uses the following keys: action (string): The type of action that was executed.
Read more >JSON Introduction - W3Schools
JSON stands for JavaScript Object Notation. JSON is a text format for storing and transporting data. JSON is "self-describing" and easy to understand ......
Read more >Working with JSON - Learn web development | MDN
JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax.
Read more >Format Query Results as JSON with FOR JSON - SQL Server
To maintain full control over the format of the JSON output, use FOR JSON PATH . You can create wrapper objects and nest...
Read more >Producing JSON output - IBM
The JSON text can be used to represent a resource for the interface to a Web service, and is encoded in UTF-8 if...
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 FreeTop 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
Top GitHub Comments
The problem is fixed. Please test
I close the issue, please comment/open a new one if there are any problems here