Random Quotes machine

i have built this random quote machine but i’ve been facing a problem that i had to create my own object and then i used json.
if anyone knows how to directly use JSON and get information from any server please help!

It’s good too. If you want learn about API I suggest this link https://classroom.udacity.com/courses/ud245 and this https://classroom.udacity.com/courses/ud110
Here you can found my Random Quotes Machine that use $.getJSON.

Thanks. can you also tell me how to get those JSON url that we use while working?

I searched on Google for free quotes API and I found that url. When you use$.getJSON you ask to server to get a JSON, in our case you have a JSON with quotes and authors.

thank you for your help!