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 :-)
Related
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.
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
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.
I am aware of the update to Instagram apis. I have read through the documentation regarding fetching hashtag images. I'm confused regarding 2 points -
They have a section "Endpoints", which gives the url for fetching images using tags - https://api.instagram.com/v1/tags/{tag-name}?access_token=ACCESS-TOKEN
At the same time, when i try to submit for review (under Permissions Review section), in order to get access token, i get this message -
"This use case is not supported. We do not approve the public_content permission for one-off projects such as displaying hashtag based content on your website. As alternative solution, you can show your own Instagram content, or find a company that offers this type of service (content discover, moderation, and display)."
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis, at the same time i can find a lot of widgets still fetching hashtag images. How do they do that? Can anyone point me in the right direction?
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis,
Correct. Instagram has made business decision to block most developers from accessing this content.
at the same time i can find a lot of widgets still fetching hashtag images.
This doesn't tell you much. They might have gotten their app approved for other purposes. Also it appears that Instagram has made some exceptions for big apps (like Tinder). Life is not fair.
How do they do that? Can anyone point me in the right direction?
You probably cannot. 99% of the use cases are not allowed and so they will reject your app if you try to submit it. Read this short article about what you can and cannot do with the new Instagram API
The other widgets you are talking about probably have presented Instagram with one of the valid use cases to fetch the data. They are able to get only the public content. This new restriction is probably a business decision. If you would still want to get the data you are looking for, you shopuld possibly go to a third party data provider who sell such data
I've found a PDF file of Appstore search API, that I can use some parameters to fetch an application's detail information.(sorry I forgot the download url, but I found it in stackoverflow)
But there are so many sites that show you a Top100 list(like appshopper.com), and such as Mobclix.com also provide you the rank information.How can they do that? I didn't find the related API in the PDF file.
I also found an Appstore API by ABTO(http://www.abtollc.com/AppStoreAPI.aspx), but I really wanna do it by myself.
If I clear the 1st question, then I'd like to know the common architecture of building a website based on the appstore data. Do I need a database to cache the appstore's data, and create a batch to fetch the data frequently, execute like once per hour? I think it might not be clever to access the appstore for every user request, and may be there is a access limit of appstore?
Thanks for your help!
You can use the following link to generate a url for querying iTunes Data for things like the top 100 apps in a particular category.
http://itunes.apple.com/rss/generator/
For the top 100 free productivity apps the generated url is
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topfreeapplications/sf=143441/limit=100/genre=6007/xml
The PDF that you link to is very old and hasn't been updated in quite some time, but even if you did get that working, it doesn't have "Top 100" selections (to my knowledge).
1.The way people do to get information from the AppStore is to parse the Xml returned from ITunes web call, and get the information they want. There's no official api release from apple.
You may be right, its more clever to save a copy of app information on your server.