Any IMDB API to get user's ratings history? - imdb

I need to be able to import IMDB user's movie ratings into my website. Is there any API for this purpose?

The short answer is that there is not an API for this purpose (at the moment).
If you need to get a user's movie ratings I think that the best solution for you is to log in at IMDB, go inside the user profile page, click on rating and in the bottom of the page click on the CSV export.
This should contains all the data you are looking for and in a good format. The bad news is that you have to follow these steps for each user you want to get the ratings. There is not an automatic procedure to get them.

Related

Store Google Places "place_id" and refresh them

I've just spent a long time reading documentation about the Google API Places, and there's some information I don't quite understand.
I need to build an application that can record a travel plan for a user, so a sequence of places.
For this, I need a very simple form, with a "destination" input, which will use "Autocomplete Places".
This endpoint return a place_id for the selected location, which is the only thing I'm allowed to store in a database, according to Google's terms and conditions.
So in my idea, I'll store this id, and a itinerary would be made of a sequence of place_id, without the need to store the place name or anything else. To display the user's itinerary, I'd just have to make Place Details queries, with the identifier.
But the documentation specifies that these ids can change over time, so they advise to redo queries "periodically" to refresh the place_id.
But how can I redo queries if I haven't stored any information about the place, other than the place_id ? Do I need to store the name of the place (and do I have the right to do that?) to be able to retrieve its ID, or am I missing something?
Another thing: I didn't find, or didn't understand, in the terms of use, if I was allowed to store data generated by my site beside Google IDs, for example, to store comments about places.
Sorry if I make language mistakes, im not fluent in english.
Thanks !

Downloading data from Yahoo

I have been downloading stock information from Yahoo using this method:
http://finance.yahoo.com/d/quotes.csv?s= (enter stocks here) &f= (add tags depending on what info I need)
This provides me with a csv file with the requested information.
What I want to do is download only the information that satisfies a certain requirement. For example I want to only download data on stocks that are worth more than $100 per share, or stocks that have lost %10 of value during a day.
Much appreciated if someone could tell me how to do this or even if there is a better method than what I am doing.
Thanks a lot
can you try to use the YQL console. See example below.
http://developer.yahoo.com/yql/console/?q=select%20%20from%20internet&env=store://datatables.org/alltableswithkeys#h=select++from+yahoo.finance.historicaldata+where+symbol+in+(%22MSFT%22)+and+startDate+%3D+%222012-09-13%22+and+endDate+%3D+%222012-09-16%22%0A
Further there you have other table you can use to receive information. See yahoo.finance Tables.

How can i retrieve this data?

I have two dimensions, login and username containing names of people who have an account, and who have actually logged in to their account respectively. How do i retrieve the names that are in login but absent in username? I am using Webi Rich Client XI 3.1
I would suggest merging your User Name and Login dimensions. You will then need to create detail variables for User Name and Login with your newly merged dimension as the associated dimension as described in Tip 1 of this blog post...
http://michaelwelter.wordpress.com/2011/04/18/tips-for-merging-dimensions/
You can then put them both on the report as part of the same table and put a filter where User Name is null.
Here is another blog post which has a lot of information about merged dimensions.
http://www.dagira.com/2010/06/19/what-does-extend-merged-dimensions-really-do/
My company is on 4.0 SP06. I have never used XI 3.1, but I think this (or something very similar) should work.
Noel

Orchard CMS: Linking Users with Content Types or Profile Data

I installed the profile module http://orchardprofile.codeplex.com/ but I am wondering what's the best way to implement the following:
Let users track "BMI" via profile. User enters BMI (body mass index) via their profile and the values will be saved. A graph will be shown illustrating the saved values over a period of time.
This is just an example. I am wondering what's the best way to do this sort of thing...
As a supplementary question, is it possible to create a new content type and then "link" that to a particular user?
Thanks.
To store the values over time, you should probably create your own part and have it store a list of records, each of which should have a date and a BMI value. See http://docs.orchardproject.net/Documentation/Creating-1-n-and-n-n-relations for a description of the work required to establish relationships.
Linking content items can be done easily in 1.5 using the new content picker, at least for the simplest kinds of relations.

Best way to implement users location that allows me to see what users live roughly in the same area

A key part of my current project is users having the ability to see what other users live near to them. What is the best way to implement this?
I would just ask for country, state and city but because this will be international I can't have a fixed drop down list of states/administrative regions for each country, so if users spell the name of their state differently this will hinder my ability to detect that users live in the same state.
Say for example we have an the Swiss canton "St. Gallen". Some user will spell that as "Saint Gallen", others as "St Gallen" and so on. Which is obviously problematic.
Could I just ask for the zip code and use that? I've found some zipcode tools online but I'm suspecting they don't work very well. Has anyone used them?
Thanks for your asnwers.
Shouldn't you base your query on geographical data rather than administration one? I mean instead of comparing cities/zip codes just find people within, let's say, 5 km from current user location. And if you let every user to choose his/her location on the map, this will be as simple as choosing it from a series of drop-down lists or entering a ZIP code. Also there is an emerging geolocation HTML feature.
Querying such an information is different story thou. You'll probably gonna have to use GIS capabilities of your database: MySQL, PostgreSQL, Oracle and others.

Resources