# \#json

**URL:** https://forum.freecodecamp.org/tag/json/42.md

[Latest](https://forum.freecodecamp.org/latest.md) · [Categories](https://forum.freecodecamp.org/categories.md) · [Tags](https://forum.freecodecamp.org/tags.md)

---

## [JSON call function won't execute any code within it - "Show the local weather" challenge](https://forum.freecodecamp.org/t/json-call-function-wont-execute-any-code-within-it-show-the-local-weather-challenge/132955)

<div class="topic-metadata">

**Author:** [@ottyk](https://forum.freecodecamp.org/u/ottyk)\
**Replies:** 3\
**Last updated:** [September 7, 2018, 5:42am UTC](https://forum.freecodecamp.org/t/json-call-function-wont-execute-any-code-within-it-show-the-local-weather-challenge/132955 "2018-09-07T05:42:59Z")

</div>

Hi guys, I'm truly stumped with this one. While doing the Local Weather App challenge, I made a JSON call to Dark Sky API - I know that this API call is working because pasting the API link into my browser takes me to…

---

## [Getting Twitch channel logo/info when channel is offline](https://forum.freecodecamp.org/t/getting-twitch-channel-logo-info-when-channel-is-offline/136152)

<div class="topic-metadata">

**Author:** [@Nicknyr](https://forum.freecodecamp.org/u/Nicknyr)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 7:52pm UTC](https://forum.freecodecamp.org/t/getting-twitch-channel-logo-info-when-channel-is-offline/136152 "2017-07-14T19:52:24Z")

</div>

I'm coming along on the Twitch project and figured out the API calls for the most part, however I'm having a hard time getting the logo from Twitch channels that are currently offline. Here is the codepen. https://codep…

---

## [Using $.getJSON](https://forum.freecodecamp.org/t/using-getjson/134459)

<div class="topic-metadata">

**Author:** [@justoguillermomontoy](https://forum.freecodecamp.org/u/justoguillermomontoy)\
**Replies:** 1\
**Last updated:** [July 6, 2017, 5:16pm UTC](https://forum.freecodecamp.org/t/using-getjson/134459 "2017-07-06T17:16:55Z")

</div>

Hello, I'm having some trouble using the getJSON() function in order to retrieve weather information for the weather application. $(document).ready(function() { $("#getWeather").click(function() { if (…

---

## [Where to learn about API- Weather API- Resources Needed](https://forum.freecodecamp.org/t/where-to-learn-about-api-weather-api-resources-needed/80090)

<div class="topic-metadata">

**Author:** [@vikramnr](https://forum.freecodecamp.org/u/vikramnr)\
**Replies:** 11\
**Last updated:** [July 29, 2017, 4:21am UTC](https://forum.freecodecamp.org/t/where-to-learn-about-api-weather-api-resources-needed/80090 "2017-07-29T04:21:13Z")

</div>

I'm need to know how to use API in order to make use of it in web pages that we are developing. I'm now currently developing weather app. But I have no idea what to do with JSON object that I'm getting or what even JSO…

---

## [Finished my Twitch TV app](https://forum.freecodecamp.org/t/finished-my-twitch-tv-app/134255)

<div class="topic-metadata">

**Author:** [@boniverski](https://forum.freecodecamp.org/u/boniverski)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 5:49pm UTC](https://forum.freecodecamp.org/t/finished-my-twitch-tv-app/134255 "2017-07-14T17:49:21Z")

</div>

It was rough but I finally finished Twitch TV JSON API project. This is how I did it. Thanks for the feedback!

---

## [For those of you who are stuck on the Weather API Projects](https://forum.freecodecamp.org/t/for-those-of-you-who-are-stuck-on-the-weather-api-projects/135516)

<div class="topic-metadata">

**Author:** [@anon52159105](https://forum.freecodecamp.org/u/anon52159105)\
**Replies:** 5\
**Last updated:** [July 13, 2017, 7:32pm UTC](https://forum.freecodecamp.org/t/for-those-of-you-who-are-stuck-on-the-weather-api-projects/135516 "2017-07-13T19:32:01Z")

</div>

So I've noticed that completing the weather api projects was very difficult as both APIs that were recommended block cross-origin requests and/or have SSL Issues so I came up with a quick hack to help you guys out. The A…

---

## [Hi in need help arranging this table](https://forum.freecodecamp.org/t/hi-in-need-help-arranging-this-table/134930)

<div class="topic-metadata">

**Author:** [@seyicole](https://forum.freecodecamp.org/u/seyicole)\
**Replies:** 2\
**Last updated:** [July 9, 2017, 12:04am UTC](https://forum.freecodecamp.org/t/hi-in-need-help-arranging-this-table/134930 "2017-07-09T00:04:52Z")

</div>

I’m creating a table in in which the data is being gotten from a JSON file. this is the code var myObj, i, t = document.querySelector(“#data\_table”); myObj = { name: “John”, age: 30, cars: \[ {name: “Ford”, models: …

---

## [Problem Getting Json file from wordpress server with Jquery getJson or ajax method](https://forum.freecodecamp.org/t/problem-getting-json-file-from-wordpress-server-with-jquery-getjson-or-ajax-method/133872)

<div class="topic-metadata">

**Author:** [@vkoukoutsas](https://forum.freecodecamp.org/u/vkoukoutsas)\
**Replies:** 2\
**Last updated:** [July 8, 2017, 11:36pm UTC](https://forum.freecodecamp.org/t/problem-getting-json-file-from-wordpress-server-with-jquery-getjson-or-ajax-method/133872 "2017-07-08T23:36:15Z")

</div>

Hello fellow campers! I am trying to do a simple ajax request to retrieve a json file from the server and store it in a javascript object. I have tried 2 different methods .ajax() method and .getJSON(). Both method…

---

## [How do I code Twitch TV Status app?](https://forum.freecodecamp.org/t/how-do-i-code-twitch-tv-status-app/133685)

<div class="topic-metadata">

**Author:** [@ArchivalBoat50](https://forum.freecodecamp.org/u/ArchivalBoat50)\
**Replies:** 1\
**Last updated:** [July 3, 2017, 9:42am UTC](https://forum.freecodecamp.org/t/how-do-i-code-twitch-tv-status-app/133685 "2017-07-03T09:42:48Z")

</div>

I have absolutely no idea how to code this. The only thing I know I should do is make an array of Twitch streamers when the document is ready. Then use an API to get their status. I don't know anything else beyond that. …

---

## [Show local weather help (solved)](https://forum.freecodecamp.org/t/show-local-weather-help-solved/133007)

<div class="topic-metadata">

**Author:** [@userGitHub34535](https://forum.freecodecamp.org/u/userGitHub34535)\
**Replies:** 6\
**Last updated:** [June 29, 2017, 7:51pm UTC](https://forum.freecodecamp.org/t/show-local-weather-help-solved/133007 "2017-06-29T19:51:00Z")

</div>

I found this api link useful: http://ip-api.com/json,because it returns the lat and longitude in a JSON. This teacher has written a very helpful example of how to use an XMLHttpRequest https://developer.mozilla.org/en-US…

---

## [How to indent JSON output on the browser nicely like in the demo](https://forum.freecodecamp.org/t/how-to-indent-json-output-on-the-browser-nicely-like-in-the-demo/132313)

<div class="topic-metadata">

**Author:** [@hesingon](https://forum.freecodecamp.org/u/hesingon)\
**Replies:** 2\
**Last updated:** [June 27, 2017, 2:32pm UTC](https://forum.freecodecamp.org/t/how-to-indent-json-output-on-the-browser-nicely-like-in-the-demo/132313 "2017-06-27T14:32:44Z")

</div>

Hi, I noticed that in the demo video of this project, the JSON output are displayed nicely. On the other hand, the output on my own chrome browser is real messy. How can I fix this?

---

## [Wikipedia API - getJSON jQuery Help](https://forum.freecodecamp.org/t/wikipedia-api-getjson-jquery-help/115376)

<div class="topic-metadata">

**Author:** [@ZZBrent](https://forum.freecodecamp.org/u/ZZBrent)\
**Replies:** 7\
**Last updated:** [June 24, 2017, 5:07pm UTC](https://forum.freecodecamp.org/t/wikipedia-api-getjson-jquery-help/115376 "2017-06-24T17:07:30Z")

</div>

Hello FreeCodeCamp community! I have been struggling with the Wikipedia API challenge for a few weeks now. I have taken multiple courses on what APIs are, what GET, POST, PUT, and DELETE are, and how we can use all of…

---

## [Weather App has broken - any guidance?](https://forum.freecodecamp.org/t/weather-app-has-broken-any-guidance/129613)

<div class="topic-metadata">

**Author:** [@jamesbarrett95](https://forum.freecodecamp.org/u/jamesbarrett95)\
**Replies:** 3\
**Last updated:** [June 23, 2017, 9:25pm UTC](https://forum.freecodecamp.org/t/weather-app-has-broken-any-guidance/129613 "2017-06-23T21:25:21Z")

</div>

Hello there, I finished my weather app a few months back, however I wanted to return to add a new feature. However, since my return, my API call to the OpenWeatherMap seems to be throwing a 404. I can't seem to find an…

---

## [JSON response not coming in console.log while the url is correct](https://forum.freecodecamp.org/t/json-response-not-coming-in-console-log-while-the-url-is-correct/125411)

<div class="topic-metadata">

**Author:** [@harshTTH](https://forum.freecodecamp.org/u/harshTTH)\
**Replies:** 8\
**Last updated:** [June 9, 2017, 5:22pm UTC](https://forum.freecodecamp.org/t/json-response-not-coming-in-console-log-while-the-url-is-correct/125411 "2017-06-09T17:22:08Z")

</div>

I am using a form to get search query and as per log results URL is correct on clicking URL JSON response is opening, but doing ajax call with same URL is not showing up JSON data , even no error. codepen link

---

## [Need JS help with HTML on Random Quote Machine](https://forum.freecodecamp.org/t/need-js-help-with-html-on-random-quote-machine/117608)

<div class="topic-metadata">

**Author:** [@OmegaPointZero](https://forum.freecodecamp.org/u/OmegaPointZero)\
**Replies:** 6\
**Last updated:** [May 20, 2017, 4:07am UTC](https://forum.freecodecamp.org/t/need-js-help-with-html-on-random-quote-machine/117608 "2017-05-20T04:07:46Z")

</div>

So, here's my codepen: I've added a few console.log() functions to log to the console for me to confirm the click was registered and the getQ() function is being called. getQ() is being called but I can't actually ge…
