Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to know, how we can get pricing list for any valid particular movie. Like in iTunes there are many movies app, which gives pricing for all website for live streaming. How to retrieve that list of pricing.
If I understand your question correctly, you are looking to get iTunes Store Movie Metadata, which include pricing. You can use iTunes Store Search API, which also returns iTunes pricing.
https://itunes.apple.com/search?term=ventura&media=movie
This API call will return JSON response with the following data:
{"wrapperType":"track", "kind":"feature-movie", "trackId":271495352, "artistName":"Steve Oedekerk", "trackName":"Ace Ventura: When Nature Calls", "trackCensoredName":"Ace Ventura: When Nature Calls", "trackViewUrl":"https://itunes.apple.com/us/movie/ace-ventura-when-nature-calls/id271495352?uo=4", "previewUrl":"http://a1567.v.phobos.apple.com/us/r1000/035/Video/39/3b/c3/mzm.idnfqvpl..720w.h264lc.D2.p.m4v", "artworkUrl30":"http://a5.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.30x30-50.jpg", "artworkUrl60":"http://a2.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.60x60-50.jpg", "artworkUrl100":"http://a5.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.100x100-75.jpg", "collectionPrice":9.99, "trackPrice":9.99, "trackRentalPrice":2.99000, "collectionHdPrice":14.99000, "trackHdPrice":14.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2013-10-02T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":5641183, "country":"USA", "currency":"USD", "primaryGenreName":"Comedy", "contentAdvisoryRating":"PG-13",
"longDescription":"Africa's the place and Ace is on the case, setting out to rescue an animal he loathes: a bat! Jim Carrey (Batman Forever) returns as Ace, the alligator-wrasslin', elephant-calling, monkey-shining, loogie-launching, burning coals-crossing, disguise-mastering pet detective. If you're ready to laugh like a pack of hyenas, if you want more fun than an industrial-sized barrel of monkeys, you know what to do. Heed the call.", "radioStationUrl":"https://itunes.apple.com/station/idra.271495352"}
Be careful of the following parameters:
collectionPrice
trackPrice
trackRentalPrice
collectionHdPrice
trackHdPrice
trackHdRentalPrice
If you are looking for other website streaming prices, I would try to look for the specific API's on service side that would provide you with this information.
The more mature services usually provide REST API's to access it's information. What you are looking to do is basically - creating an abstract pricing layer on top of all available API's. While this answer would be too long going into detail on each and every service, I can give you some information for the sites you mentioned:
Hulu API: https://github.com/adammagana/hulu-php-library
Vudu API: https://github.com/jfx41/vudu
Rotten Tomatoes (Flixster) API: http://developer.rottentomatoes.com/
Amazon API: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html
While those links will not solve your problem out of the box, you should be able to get enough information from them to actually understand what can you do.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm aware of the differences between GET and POST (security and caching, in particular). Additionally, when I search this question using Google, I'm only greeted by results telling me how to hack site search in Google Analytics for POST-based engines. I already know how to do that.
What I'm wondering is why employ a POST-based search engine in the first place? What are the salient advantages? I can't imagine why site search queries would need to be secure. So maybe it has something to do with caching?
Thanks so much in advance to anyone who can shed light on this.
No real "answer" to this one - it's entirely up to the site owners choice and/or the options the software they use on their website.
I would however say that there are very valid reasons for search terms to be secure. If you are searching for personal private medical conditions for example, or perhaps your own sexual preferences that you'd prefer not to be widely known. And then there's search terms used in more restrictive countries than you're obviously used to where having a history of those search terms on your computer could get you in very serious trouble.
Google has long restricted search terms from being passed on to the next website in the referrer field for just the reasons.
Advantages of a GET based search page:
Easy to copy and paste link for someone else.
Adds to your web history.
Allows search engine to be implemented in client side (e.g. like Google Custom Search Engine uses with a JavaScript call to Google's main search engine rather than a complicated server side search engine implementation).
Advantages of POST based search pages are mostly to do with security:
Cannot be accidentally shared by copying and pasting URL.
Does not add search terms to web history
Cannot leak search terms in referrer fields for sites you click on. This takes extra effort to do with a GET request (like Google has done) but is default with POST requests.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any solution to protect google analytics from receiving fake information from Spammers ? The problem is anybody can send information by knowing tracking id.
I found the following solution, filter domain. But that's for web and how to implement for mobile app ?
https://blog.kissmetrics.com/protect-analytics-from-hacking/
Thanks
Visible Tracking ID
On a website you can right click, Show source but you can't on a mobile application. Therefore your trying ID can't be find from your clients application. Nonetheless, if your code is pushed to a public repository (Github for example) robots may find it.
Random spammers
Even if your trackingID is kept secret you'll have some bot spamming your account randomly (they try every possible tracking ID). Google added a tool to prevent this: go to Admin > View > View settings > turn on Exclude all hits from known bots and spiders. Then Google will automatically filter hits from the known fake domains.
Hostname security hack
Even with Google's automatic filter you may still see some spam. This can be fixed with what they explain in the link you provided.
In your article they create a custom dimension and use it to filter real data from spam data. You can also use this with your mobile application, the thing is, it does not need to be a host name it just need to be a string only known by you, its sort of a new secret added to your tracking ID (which should already be secret).
This works because bots can handle the try of every trackingID but they can't try every custom dimension with every possible value, it's too much work for them.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to sending bulk SMS with Twilio is this possible with Twilio exists API. I have searching few hours with google, but can't find acceptable answers. So, I decide to asking at here. Thanks in advance.
SMS and MMS Quickstart Tutorial
This sample is using a dictionary to send messages to group of people, see at following sample code in above link.
// make an associative array of people we know, indexed by phone number
var people = new Dictionary<string,string>() {
{"+14158675309","Curious George"},
{"+14158675310","Boots"},
{"+14158675311","Virgil"}
};
More Over as You have mentioned BULK Messaging I would like you to have a look at their policy of Do's and Dont's also at this link
and look for section Sending mass marketing or bulk messaging using Twilio long code phone numbers
Have a look at
REST API: Short Codes
REST API: Messages
Yes and no, yes you can send 'batch' MMS by iterating thru a list of numbers you want to send to, but if you plan on sending a lot, you are going to want to lease a short-code (for about $1000/month) in order to qualify for the higher sending limits.
With a regular number you can send at most one message per second. With a shortcode, you can up that to 30 messages per second.
You might be able to get away with low-level 'bulk' sms on a regular twilio number, but don't be surprised if you get shut down if you are spamming or violating the terms of use (see Boosters post above for the link).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm planning to create a module for my directory which would fetch images from user's website using Google Image Search via this scenario:
User logs in to his account
Enter his website URL
Application request images from domain cached by google
Application displays N amount of images from website offering to link them to his profile
On confirmation, application will copy images to my server
Am I allowed to do that, and would it breach any copyrights?
UPDATE
I presume that person created account in my business directory is owner of that website (it states in Terms and Conditions) and as an owner he is accessing his website. Application would display thumbnails and fetch original image from his website using links from Google results. Does it make any difference?
Disclaimer: IANAL
As long as you only use thumbnails of maximum 80 to 200 pixels in size, then it is considered fair use. I also advise linking the image the source page and mentioning somewhere that the images may be copyright material.
Make sure to use the API, rather than scraping the results page.
You'll find that the Google images results have this disclaimer attached to them: "This image may be subject to copyright." I'd say you'd be in the wrong.
Similar to Facebook, you can use the images to link to those website. You need to mention that these images may be copyright protected. Google cache's the content. And it's image search says, "Image may be subject to copyright"
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 have a video blog for which I would like to track certain statistics, including stats from Google Analytics, Twitter, YouTube, Facebook, etc.
The problem is that the various stats are on different websites, which require different logins, etc. It takes a long time to actually view everything. I am looking for a way to be able to aggregate all of this information in one place.
I have searched quite a bit on Google, Mashable, Delicious, etc and I haven't found any websites that do what I want. Are my searching skills bad, or does this really not exist?
The data in which I am interested appears to be available in readily parsable forms (see below), but I am hesitant to write an app to do this myself, because of an already more than full workload.
Data I want to aggregate:
Google Analytics -- tracking on my website
number of visitors
traffic sources
use Data Export API -- http://code.google.com/apis/analytics/docs/gdata/gdataDeveloperGuide.html
Twitter
number of followers
number of retweets
new # messages
new direct messages
Twitter API -- (sorry, I can only post one hyperlink because I am new)
Facebook fan page
number of fans
new posts on wall
Facebook API -- (sorry, I can only post one hyperlink because I am new)
Tumblr
number of followers
Video
number of views
view location
number of comments
number of channel subscribers
do this for
YouTube -- CSV report available at (sorry, I can only post one hyperlink because I am new)
MetaCritic
Feed burner (RSS)
number of subscribers
CSV report available at (sorry, I can only post one hyperlink because I am new)
SEO stuff
Google PageRank
Alexa rankings
So is there an app that does this already, or should I do this myself? I would like a quick and dirty way to do this -- I was thinking something like Yahoo pipes, but it appears to not be up to the task. I could probably get it done in Grails, but that might be more trouble than it's worth. Other ideas?
I have a better answer. YQL has community data tables for all the services you listed. You can pull in all the different values through their API.
http://developer.yahoo.com/yql/
You could try creating a Google Spreadsheet and use their external data import tools.
http://docs.google.com/support/bin/answer.py?hl=en&answer=75507
The biggest problem will probably be access authenticated APIs.
Presumably that all of the services above has fashioned a statistics API, I would advice you to write it yourself rather than battling an integration war with a bunch of aggregating programs.
Here's an iphone app that does at least a bit of this:
http://ego-app.com/
I don't know a single tool that can do this, off the top of my head. But you can chain a few tools together to do this.
1- If you're on Windows, use Website Watcher. It has a macro-recording tool to login a webpage, a regex-based tool to filter content and a scripting language that let you email/export the result. IMO, this will let you extract data from just any web page/RSS/forums.
2- Then use Dropbox to automatically upload the result files to your Dropbox's public folder (because you will need the public link to these file).
3- Use Yahoo Pipes to consolidate/aggregate the result files.
I suggest you try Metricly http://metricly.com/ that is natively intergating Facebook & Google Analytics data. It is extensible by nature and with a little bit of tweaking you can push any meric to it. I enjoy it.
I originally suggested this as an edit to abraham's answer but it was rejected:
Mikael Thuneberg has written a freely available google script for pulling GA data into Google Docs using the GA API: http://www.automateanalytics.com/2010/04/google-analytics-data-to-google-docs.html
I use it for creating client dashboards all the time. I suspect there may be others for pulling in twitter/facebook data etc.
And Google have just released this tool for importing GA data into Google Docs:
http://analytics.blogspot.co.uk/2012/08/automate-google-analytics-reporting.html
Also see SEOTools for Excel which can pull some facebook and twitter data as well as Google Analytics through the API.
YouTube has a public API http://developers.google.com/youtube/analytics to retrieve reports for your videos and channels.