Hi,

   How to call the below url in django in views file:


  
 
http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=O-lzp4Hyqp8&format=json

  The above api returns json data which further i need to use and fill 
those in html file.
  
  
HttpResponse('http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=O-lzp4Hyqp8&format=json')

 Is this correct way to call to get json data?

Thanks in advance






-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/10216c68-f54f-4ea9-9e9c-6d0d03227bc0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to