Forum in maintenance, we will back soon 🙂
Trouble with Build an API section of course.
Hi, I am having trouble with the activity of getting the google suggest api's to work. I am able to get the flask server running and can see that the requests are being made in Visual Studio Code. As you can see from the screenshots, the connection to the flask server is working because when I type the keyword (like database) it shows up in the terminal as trying to connect. I also try the raw url and replaced the ?q=database and that is working as you can see from the the other screen shot. Note, that I had to switch to 5001 port (in case you are wondering about that) due to the default 5000 port seems to be occupied, as I was getting socket errors.)
Thanks, Jim
Â
I think the code ChatGPT created was a putting too much other stuff in. I simplified by copying Hasan's version from the video and it worked.
@signupnow I had written about this but cannot find it. I had shown the difference between what Hasan's prompt gave and the same prompt used when I did it. Basically the code you have pictured uses a different means to receive the data. You need to specify the query keyword in your URL.
http://127.0.0.1:5001/get-suggestions?keyword=KEYWORD_TO_SEARCH
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
Of course I find it after I said I couldn't.
https://learnwithhasan.com/premium-forum/api-projects/course-build-with-ai/
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
Thanks, Earnie. I appreciate your response and insight.Â
-
Problem fixing
9 months ago
-
Free or Cheap APIs for SEO
1 year ago
-
Expert Advisor or Trading Robot Development thru ChatGPT 3.5
1 year ago
-
learning API's
1 year ago