How can I use Appstore API to get top100 list? What is the common architecture to build a appstore application website? - api

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.

Related

Can shopify do this? (what is best platform?)

My clients need to send me a file that we will edit and send back to them (ideally through a client page). Is Shopify a good platform for this kind of business? I know it is well suited for digital goods but I haven't seen anything that would allow uploading a custom file to an order during fulfillment.
EDIT
ok for file uploads that was easy enough to find, but how to provide a link to a different file for each client that bought the same product? After the file has been edited ideally we would put the file somewhere (dropbox?) and have a link available on the client account page and in a fulfillment confirmation email.
the only thing I have found so far would be through metafields and custom fields added to each order. Its a bit annoying to have to use chrome plugin to show the custom fields on the order dashboard. It would be nice if a customfield would be added automatically to each order. Then a link to the file in dropbox could be added to the order using an ipad and the clients would have instant access.
Why the two down votes? I have searched a long time and the only workaround I can find is hardly satisfactory. I'm open to suggestions.
You can definitely let your customers upload files when they buy from your Shopify store. Check out this tutorial for more information on how to set this up with line item properties: https://help.shopify.com/themes/customization/products/get-customization-information-for-products#allow-file-uploads

instagram retrieve hashtag images - update June 1

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

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 :-)

how to display the live website data in iPhone application

I am newbie for iPhone application and I want to create iPhone application based on the website client have. What I want to do is show the Upcoming Courses from this website. Any idea how to do that?
Note that, the table that is there in section Upcoming Courses is static data and this site is created using Joomla. The web-developer do the changes in the Upcoming Courses section on a weekly basis depending on the courses.
Could anyone suggest me right path what needs to be done?
I also tried to search on google and found that RSS need to be created for that section. So I believe if I need to create RSS, then I would have to store this data in database. Isn't it? Is this only one way to deal with it?
My Client says, if they do the update in website, it should also get rectified in iPhone application too.
Look at the example right here:
https://github.com/greenisus/cocoa-rss
If you use Joomla, then you have a database already, of course.
I'm pretty sure that there are some sweet modules for RSS, which you can use.
Then you'd just have to parse them in your app.
There is no such thing as push in RSS, you'd have to consistently check and update your content.

Is it possible to develop a Facebook app that filters updates out of a feed?

Namely, does the Facebook API make this possible? I'd like to leave my news feed intact, but remove posts that meet some criteria for things I don't want to see (e.g., don't show me anything that sounds like Dick Cheney might have said it). Does the Facebook API allow apps to customize a user's normal news feed? I spent a few minutes looking at the facebook developer pages, but didn't see any direct answers to my question, so I was hoping some developers who were experienced with Facebook's API could help me here.
Before anyone mentions it, I don't want to just hide updates from those users. They may post other updates that I want to see, so I'd prefer to filter out updates based on content.
There is a Greasemonkey script called "Facebook Purity" which does this. You could probably look at the source and alter it to your specifications.
You could parse the news feed into a database on your site then use code to parse whether or not to display it.
yes this is possible but only if all your friends decide to add your application! otherwise you may be not able to access their feeds.
Its been a while since i used Facebook SDK so this may have changed.
The API provides very little news feed integration, and no you can't use the api to prevent news feed items from showing up in a users feed. All you can do is post and get, and you can only post 10 items a day, "significant" interactions. The Facebook API wasn't designed to enhance or alter the core Facebook experience, it was designed to allow developers to create third party apps that add to Facebook within a very limited and tightly controlled sandbox.
The Linq to facebook project looks quite interesting and may allow you to do what you are asking (if using .NET 3.5). My apologies for a link to such a pink website ;-)