Author Topic: API Code  (Read 642 times)

Offline Meomix

  • Member
  • Posts: 4992
  • For our glorious order
    • MAL
API Code
« on: September 01, 2012, 10:19:00 AM »
How do i get the proper API code to make my search engine work? My search engine requires 3 codes, the Yahoo Boss API the Bing API and then the YouTube API. I thought the API code was something like this "https://api.datamarket.azure.com/Bing/SearchWeb/Web?Query=%27Xbox%27" but that syntax produces no effect. The bloody Yahoo API code requires me to enter my credit card information to even get the required details. I have spent over 10 hours trying to get this to work, do i have to upload some php files to my server? What?

By the way i'm using Extreme Search Personal Edition.
« Last Edit: September 01, 2012, 10:59:45 AM by Meomix »
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: API Code
« Reply #1 on: September 02, 2012, 05:35:57 AM »
Uh, I don't think API is the right term here... I'm not entirely sure what you're looking for. URL syntax, perhaps?

Online megido-rev.M

  • Member
  • Posts: 16115
Re: API Code
« Reply #2 on: September 02, 2012, 06:30:07 PM »
Well, "api." does appear in the URL. Either way, I'm still not exactly sure what the exact problem is even after finding that other post via Google.

Offline Meomix

  • Member
  • Posts: 4992
  • For our glorious order
    • MAL
Re: API Code
« Reply #3 on: September 03, 2012, 12:46:45 PM »
Uh, I don't think API is the right term here... I'm not entirely sure what you're looking for. URL syntax, perhaps?

I'm looking for a Search API url to input into my search engine as it isn't returning any results, i thought the url syntax leading to the API was this "https://api.datamarket.azure.com/Bing/SearchWeb/Web?Query=%27Xbox%27" several guides said that the bing api is at https://api.datamarket.azure.com but it returned zero results whatsoever after inputting it into my search engines url box, after more searching i found that bing has upgraded their search api url from http://www.bing.com/api/search=? to https://api.datamarket.azure.com/Bing/SearchWeb/Web? whats worse is that instead of inputting the API ID (some numeral authentication token from bing) straight into the search api url so that it can return search results, in the new version you now have to paste the api url into the browser bar then copy the API ID (which is now called the Account key) and paste it into the password box that appears in order to view the rss feeds, i seriously do not know how to make this bloody thing return results.

Here is how the input fields look like, i tried actual code but it seems like the fields are designed for url syntax only.

« Last Edit: September 03, 2012, 12:54:33 PM by Meomix »
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: API Code
« Reply #4 on: September 04, 2012, 06:07:54 AM »
Hmm. I have not used such an API before and I doubt other people have either. Could you explain a bit? From what I can tell, the API gives direct access to each search engine, so you can search and get results through your own custom interface, is that correct?

Is there no documentation you can check? That seems very unprofessional, especially from Microsoft, Google, and Yahoo. I'm sure there's a tutorial somewhere.

Offline Meomix

  • Member
  • Posts: 4992
  • For our glorious order
    • MAL
Re: API Code
« Reply #5 on: September 05, 2012, 03:37:27 AM »
Hmm. I have not used such an API before and I doubt other people have either. Could you explain a bit?

The Bing API url is supposed to connect to Microsoft's search index api server to transfer RSS feeds and search results that can show up on your own search engine website.

From what I can tell, the API gives direct access to each search engine, so you can search and get results through your own custom interface, is that correct?

That's correct.

Is there no documentation you can check? That seems very unprofessional, especially from Microsoft, Google, and Yahoo. I'm sure there's a tutorial somewhere.

I'm rechecking the documentation, it appears that it wants me to input a prebuilt Apiscript.php file to my websites search folder, i'll try that then get back to you on whether it worked or not.
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline Meomix

  • Member
  • Posts: 4992
  • For our glorious order
    • MAL
Re: API Code
« Reply #6 on: September 05, 2012, 10:39:48 AM »
Bleh didnt work, i'm wondering whether they blocked the web search function intentionally or not, and 99% of the php files on the search engine seem to be encrypted with some humongously long hash table so editing it doesn't seem possible.

Blergh the bastards did it intentionally, went to check their demo versions, you have to upgrade to the enterprise edition in order to get web search which was colorfully renamed to "free listings search". How the fuck do they expect a search engine to function if it barely searches?

Thank you guys for all the help, at least i now know how the Php Bing Search API works now.
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: API Code
« Reply #7 on: September 06, 2012, 05:29:57 AM »
Heh, sounds both Microsoft and anti-Microsoft at the same time...

So what are you going to do? Stick with just Google and Yahoo?

Offline Meomix

  • Member
  • Posts: 4992
  • For our glorious order
    • MAL
Re: API Code
« Reply #8 on: September 06, 2012, 09:41:48 AM »
Heh, sounds both Microsoft and anti-Microsoft at the same time...

So what are you going to do? Stick with just Google and Yahoo?

For now yes.
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.