How to use Django with python-requests to fetch data from google api?

2019-05-09 Thread Krystian
Hi there, I was trying today just for myself learning to get data from google books api https://www.googleapis.com/books/v1/volumes/ without needed auth key but the point is that I'm getting no results. I've tried with single book (like below), tried to get books that title contains "something"

Re: reporting

2019-05-09 Thread Krystian
I think it depends on your needs but what I can recommend is to check on this website https://djangopackages.org/grids/g/reporting/ and make sure that the tool that you will use is compatible, python version and django are OK with yours and it's developed by community (dont touch old packages)

Re: How to use Django with python-requests to fetch data from google api?

2019-05-09 Thread Krystian
fo►authors► KeyError at /api 'volumeInfo' W dniu piątek, 10 maja 2019 03:04:17 UTC+2 użytkownik Joe Reitman napisał: > > Krystian, > > To extract the Title and Author from your API call you need: > > return render(request, 'books/api.html'

Re: How to use Django with python-requests to fetch data from google api?

2019-05-09 Thread Krystian
Hey, I've updated some code and now I think it should work but the problem is I guess with list book = {} def api(request): book = {} if 'book' in request.GET: book = request.GET['book'] url = 'https://www.googleapis.com/books/v1/volumes?q=%s' % book reponse = req

Re: How to use Django with python-requests to fetch data from google api?

2019-05-09 Thread Krystian
Hey Joe, There was a spelling mistake :D i've been sitting so long on this and didn't saw it W dniu czwartek, 9 maja 2019 22:35:12 UTC+2 użytkownik Krystian napisał: > > Hi there, > > I was trying today just for myself learning to get data from google books > api h

Re: Need urgent help on Django project

2019-05-10 Thread Krystian
Hi, follow this tutorial to achieve this https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html W dniu piątek, 10 maja 2019 15:41:54 UTC+2 użytkownik Avdesh Kumar Sharma napisał: > > Hi Django Users, > > > I have a registra