Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to understand their difference.
From my understanding, Apollo is an implementation of GraphQL, and Gatsby is a framework that uses Apollo to build severside-rendered apps. Is that interpretation correct?
Would appreciate any input!
Apollo (apollo-client) is a highly customizable graphql client with normalizing cache.
Gatsby is a node.js based static content generator. Resuls with a kind of [severside rendered] react app that can be 'run' from any (cheap) server supporting static content (static html, js, images) - even without any dynamic content support (f.e. php). Pages are prerendered as html (good for SEO) and transition between them is optimized (preloading).
Gatsby and graphql - it manages internally content in redux but provides graphql api data source consumed (in pages/templates) by own/internal client/lib to create static [fast] pages. This is compile time only 'server+client'. De facto not server and not client (not apollo), more like a set of helpers (customizable compiling system) using graphql querying format to describe templates data requirements, data processing etc.
You can use apollo-client [react] components/hooks in gatsby page templates for run-time data fetching [from static/generated pages]. You can use it in gatsby's node.js compiling environment for data fetching (instead of source plugins).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
I am learning Laravel, You can say totally beginner.
Now, I got this question:
https://hackmd.io/#DVDk95AlS3CX53FGzfJXZA/r1bWEs3CH
Can someone tell me what is the list of requirement's of this question? How can I solve it?
wait
I am not asking the actual code, just tell me the resources and list of tasks list.
Your help would be much more appreciated.
You have to use Routing in order to create all the routes you need that can communicate with your controllers : Routing documentation and Controllers documentation.
For the JSON responses, you can use this method: Json Response documentation .
For access to the incoming Http parameters you can use these methods:
Http requests parameters documentation
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm trying to decode the ridiculously awful documentation for everything from Auth to making requests with the Bing Ads API v2.0 and getting no where. None of the Oauth 2.0 requests resolve so I can't get past the first step.
Does ANYONE have any example code or guidance? All I'm trying to do is make a simple reporting query to pull my daily spends!
Thanks.
Maybe your accessKey is wrong? Alternatively you could do something like:
require 'open-uri'
require 'nokogiri'
page = Nokogiri::HTML(open("https://www.bing.com/search?q=#{query}").read)
page.css('... a ...').each do |link|
puts link["href"]
puts link.text
end
For instance, please not that while simple, open-uri is not safe when dealing with user input.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I am using bf quiz plus plugin for Joomla.
Now i had sent an email notification to the user who give the test quiz. So one email notification is sent to the user.
Now there is by default from field for email is set which is <admin#joomla3.abs.com>
So I want to set this from field for email notification to donotreply#guru99.com
i have searched this on internet and on the documentation of bf quz plus but did not find any help. You can check here which plugin I am talking about - http://www.tamlynsoftware.com/products/bf-quiz-plus.html
And here you can check which from field I am talking about - http://screencast.com/t/3apKCJWm2fo3
So how to do this.
Please help
You can do one thing. Just search for the email in the files and replace it with your ID.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any official documentation on the Google Suggest API?
All my searches for the Google suggest API show pages with either outdated info or non-working scripts.
For example, at google.com, as soon as you type in "app", Google suggests Apple, Applebees, etc.
As you can imagine, it's changed.
The newer URL is now http://clients1.google.com/complete/search?hl=en&output=toolbar&q=YOURSEARCHTERM
Or even more recent:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=YOURSEARCHTERM
Summary of working examples:
From this question working example:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=theory
From this question working example:
http://suggestqueries.google.com/complete/search?output=firefox&q=theory
From mhawksey comment above working example:
http://google.com/complete/search?client=chrome&q=theory
Here client=chrome can be changed to other browser client. For example for Firefox it will look like:
http://google.com/complete/search?client=firefox&q=theory
From mahoor13 comment above working example:
google.com/complete/search?output=toolbar&q=theory
From dhiraj-pandey answer "if you want country specific suggests, you need to add &gl= in the url". That only works with links for toolbar!
So for example working country specific example for India will be:
google.com/complete/search?output=toolbar&q=theory&gl=in
To separate words use %20 or + between them. For example:
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=a%20mykeyword
or
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=a+mykeyword
Also from here it possible to get two suggestions with YQL (first sugestion chuck norris, second steven seagal):
select * from xml where url in (
‘http://google.com/complete/search?output=toolbar&q=chuck+norris’,
‘http://google.com/complete/search?output=toolbar&q=steven+seagal’
)
Using above code gives:
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%20in%20%28%27http%3A%2F%2Fgoogle.com%2Fcomplete%2Fsearch%3Foutput%3Dtoolbar%26q%3Dchuck%2Bnorris%27%2C%27http%3A%2F%2Fgoogle.com%2Fcomplete%2Fsearch%3Foutput%3Dtoolbar%26q%3Dsteven%2Bseagal%27%29&format=xml&diagnostics=false
Some info from google about suggestions: http://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/xml_reference/query_suggestion.html
Try http://google.com/complete/search?output=json&q=YOURSEARCHEDTERM or for XML output http://google.com/complete/search?output=toolbar&q=YOURSEARCHEDTERM
http://answers.oreilly.com/topic/1526-how-to-use-the-google-suggest-api-to-come-up-with-topics-for-answers/
I also found very interensting tool which use the Google Search API and it is based on Python and Flask ubersuggest and keysuggest's Googlealphabet soup method tool.
As #Harvest316 said, you can use those urls to get suggestions, but if you want country specific suggests, you need to add &gl= in the url. For example, if I search for India, it will be
http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=YOURSEARCHTERM&gl=in
Hi I'm the author of Übersuggest the tool mentioned by JonnyPea. There is no official Google Suggest API: the URL I and other people use is just something we have found hacking around Google. Here's a couple of advice:
Have a look at my application source code on Bitbucket (beware:
I'm an hobbyist programmer so my code cold be improved a lot)
Do not call the API thousands times from the same IP or you will be banned.
[UPDATE]
Sorry the source code is no more available
There is a working API that pulls data from Google Suggest (along with YouTube, Bing and App Store): http://keywordtool.io/api
Using this API you wouldn't need to worry about the number of requests from the same IP etc.
Google doesn't have an official API to share autocomplete data, moreover it often hides keywords that appear in Google suggest from Google Keyword Planner.
Note this API is by paid subscription and starts at $280 / month.