getJSON function does not return any Data

I’m not aware of this. AFAIK, using APIs is not required. Can you tell me where you read this?