Google Books API Branding Compliance issue--infoLink returns "Not found" page - api

I'm working with the Google Books API and the Branding Guidelines state that I have to have a prominent link to the Google Books page for each search result. Cool, I'm fine with that.
However:
saleInfo.buyLink isn't always there in the API response
volumeInfo.infoLink and volumeInfo.canonicalVolumeLink sometimes often go to a "Not Found" page (for example this page, which is supposed to have information for "Lunar Orbiter State Estimation Using Neural Network-based Crater Detection" by Lena Marie Downs [don't ask, I used faker to call the API with random keywords and picked a random result])
So my question becomes, is it my responsibility to try to find workarounds for any of that, in order to be compliant? Or should I just go with what Google Books gives me and call it a day?

I changed my seeds file to only look for Google Books that have an ebook available with &filter=ebooks, and I haven't run into these issues with what it found this time. But I guess the question still stands whether it's up to developers using the API to provide for Google's issues, in case anyone else wants to answer.

Related

The steam API 2020

I'm looking to make a hobbie website using the steam API, mostly focusing on the actual products and not really any user info. According to an article by the man behind Steamspy, Valve decided to change their API sometime in 2018, removing a lot of relevant data related to the store.
I went through the steamworks documentation and the closest thing to any specific information about the applications/games were in:
https://partner.steamgames.com/doc/webapi/ISteamApps -
I figured their API must offer more than just a list of all the apps and their ID's, but thus far I have only found some other API:s.
https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
Seems to be popular in a lot of threads
https://steamapi.xpaw.me/#ISteamApps
Some kind of collection of APIs?
https://github.com/Autarc/steam-store/blob/master/README.md
Not sure if this is still usable?
https://steamspy.com/api.php
Question: If I want the name, ID, genre/tags and picture of a game (and potentially price), is really the only way to use these non-valve related API:s? Or have I missed something in Valves own API documentation?
I'm super new to API:s so please forgive my insolence, I did search a ton of threads but seeing as the API changed I'm not sure which answers still are up to date in 2020.
The storefront API is still up-to-date and should give you what you need, mostly.
There is no API for game tags. You have to get the directly from the store pages or from any of the third party API providers if they have them.
Question: If I want the name, ID, genre/tags and picture of a game (and potentially price), is really the only way to use these non-valve related API:s? Or have I missed something in Valves own API documentation?
No, you have not missed anything. Yes you need to use unoffical APIs. Compared to other gaming stores you still get more data on Steam than anywhere else.
I am afraid the last answer is not fully true.
You can get tags as categories or genres through api eg.https://store.steampowered.com/api/appdetails/?appids=306480

Wechat : does an SDK / API exists?

I'm online on wechat (an instant messenger, not to be confused with weechat, that is an IRC client) and following a lot of groups for work. I'm searching for an SDK, an API set, to be able to automitize info collecting from groups and or individuals.
But i'm not aware of any way to do it.
Please, this is NOT an 'opinion' question, I'm litterally asking you if you know a way to receive data from weechat, because I cannot find it.
I see the area on weechat website where a company can ask for accces to API, but, really I cannot find other tools.
Edit 1: Chinese DOC, I think: https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419318183&token=&lang=zh_CN
Edit 2: Chinese DOC more similar to a JS api :http://work.weixin.qq.com/api/doc#10029/%E5%A4%96%E9%83%A8%E8%81%94%E7%B3%BB%E4%BA%BA%E9%80%89%E4%BA%BA%E6%8E%A5%E5%8F%A3
Obviously, use google translator !
As from my OP, there are some docs, official docs, but the real problem is that to create even a simply Mini Program, we need to subscribe (paid) and also paying at one point a chinese-only page asks by country and the list simply does not include Italy, so I simply cannot subscribe.

Using the google-custom-search for educational purpose

Is there any access to the "google-custom-search" for students?
It is for a thesis. I want to implement/use the "normalized google distance" for my dataset. Unfortunately, my university has no general agreement with google.
PS. yes I know I could simply parse the web-page. But it seems to be a bit lame if there is an api for that.
Google discontinued the only paid option of the Custom Search Engine (CSE), so now your only option is 'free' -- in return for seeing a few content-based ads in your custom search results.
The 'pro' option now is the json/atom Search API, also free up to 100 queries per day.
I highly recommend that "anyone who ever uses a search engine", check them both out. It takes minutes to create a custom search - and after that there are countless optional ways to customize or integrate with other (free) tools like Analytics or Sheets/Slides/Forms/etc. If your CSE gets popular enough, they'll start paying you.
Google has a lot of 'products' that many people aren't aware of (most with free options) that.
Side note, since you're a class - Microsoft has some pretty sweet deals for anyone student/teacher with an email address on a school domain ($1000's in free software.)

APIs to get Movies, Music, TV Shows and Books details

I am trying to apply some APIs so that I can display and save Title, Image and Description of Latest Movies, Music Charts, Books & TV Shows on my PHP Website.
Currently I have come across the following APIs:
Movies: RottenTomatoes or TMDB API
TV Shows: TVRage or TMDB API
Books: iTunes RSS Feeds
Music: Last.Fm API or iTunes RSS Feeds
Could anyone please suggest me which one will be more helpful. Or if there are any better APIs than that ?
Also can I store the data returned by these APIs ?
I have been going through the Terms & Conditions, and everytime I read them I find something contradiciting. Please if anybody who has implemented these APIs can help ?
I can't recommend any for music or know of any API that gives you Latest Movies and such, but for the rest I'll give it a shot. I've been looking into this for weeks for a project I'm doing to teach myself how to program and I've came across a few.
OMDb API - Movies and TV
Free, no registration required, and easy to get started with data all retrieved from IMDB.
It returns Title, Poster URL, age rating, description, IMDB rating, etc.
Like I said, I can't see anything that would suggest it could show recent movies or anything, but until you find something to do that, take a look at this.
Google Books API - Books of course!
Also free with no registration requirement unless you want to use features that needs account access which probably isn't likely.
Storing Data
I originally misunderstood you here, so heres a quick edit:
You should be fine with storing it locally as it is publicly accessible anyway.
It's why the API is there in the first place.
I hope I've been able to help!
I think the iTunes Search API is what you need.
I can't make any recommendations for TMDB, however I have used OMDB and can recommend it. It's free and open source so you shouldn't have to worry about saving data.
For the others, I personally wouldn't be too worried about storing meta data for books, music, or movies/tv as long as you're not distributing the actual product in an illegal way.
For Movie and TV Shows you could have a look at Plex.tv - there are quite a few sources used for each of those, and the data is stored on the user's machine (which probably bypasses the question about rights).
For books have a look at Calibre - again, multiple sources of data stored on the user's computer.
There's the obvious answer of finding sources of data and then contacting them directly - T&C are often obtuse and unreadable, but having an email reply that says you can do something gives a plain and simple yes/no answer (even if it contradicts the T&C - but generally you'd only argue if the T&C says yes, and the reply says no)...
Finally, an API is good for consistent data, but technically HTML is similar to XML, which isn't unknown as API results - so any website can be a source of data if it's easily parsed :-)

Alternative to the deprecated google REST web search API

I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has started to enforce the 1,000 queries (?) per day limit on this deprecated service. I swear, last month I made over 10,000 API calls in one day without any errors from the service (same IP, same API key).
So I guess my question is has anyone found an alternative yet? I know yahoo boss is pretty good but I am working exclusively on Google for my projects. I do not mind spending money for for this service either as long as i can get 64 results from Google.
On that thought, how are services like Zoomrank able to bypass all Google limits? I have a subscription with Zoomrank and I can get daily rankings for all my keywords. Do they have a tie-up with Google or are they just accessing some secret service I don't know about.
Some people have suggested the new Google custom search, but i dont know how does that help me search the web? Google CS is limited to the CSE you create and searches within those engines. If I am looking for web results for Pizza, Google CS doesnt help me.
Thanks for your input. Much appreciated
UPDATE: #ggez44 points to some official Google documentation of the solution described below here: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1210656
You can use the Google Custom Search Engine to search the entire web.
In brief:
Create a CSE that searches a single site (e.g. google.com)
In the CSE control panel's Basics section, set to "Search the entire web but emphasize certain sites"
In the Sites section, delete the single site that you added when you created the CSE
Full details here:
http://www.google.com/support/forum/p/customsearch/thread?tid=56c0bd92dda351b7&hl=en&fid=56c0bd92dda351b7000495e3f500d83f
Once that's implemented, you can enable billing in the Google API Console at a CPM of $5, to a total of 10,000 queries.
Google API Console: https://code.google.com/apis/console/
Pricing: https://code.google.com/apis/customsearch/v1/overview.html#Pricing