IMDB get movie/show poster by title - media-queries

using IMDB or any other media resource is it possible to get movie/shows/programs poster image and in bast case scenario more information. by passing their title to their restful api ?
any help appreciated.

poster url can be found from imdb json url
http://www.imdbapi.com/?i=&t=glee

Related

IMDB api axios get movies by title

I was doing an exercise last week where I was getting json results rom the imdb api by searching for a title, such as adding 'batman' to the url would return movies with batman in the title, page 1 of # with pagination.
The url was something like: https://www.imdb.api/search=batman&page=2
I was using axios.get(url) to get the results, no api key needed, but I seem to have lost the api url I was using in my get request, and have been searching online for how to use the imdb api in this way again but wasnt able to find a working example.
So my question is, what is the api title search url for imdb such that I can make a get request (or put it in my browser) and see the json text results?
Thanks
First, as far as I know, and remember, you do need an API_KEY to use the IMDB API.
The IMDB API documentation can be found here.
You can also use The Movie DB (TMDB) API. The API documentation you can find here. For TMDB you will also need an API_KEY.

How can i remake the return from Google search api?

How can i use Google search api to get like on the google engine, title of website,a short description and URL. Is it possible?
I tried the api but it gives me only some information that doesn`t have a url or title to a website.
Using the Google shopping api, you can retrieve the title, short description and url. I've achieved this in a c# application where it returns a json file from the url below and parse over it.
You need a apiId to start with.
Using this url you can add search parameters after the q, in this example just searching for digital camera.
https://www.googleapis.com/shopping/search/v1/public/products?key=key&country=US&q=digital+camera
See http://code.google.com/apis/shopping/search/v1/getting_started.html
for more details
I'm not sure that I have enough information, but I find the Google Custom Search API reference page has the reference JSON/ATOM examples:
https://code.google.com/apis/customsearch/v1/reference.html
This query will get you started:
https://www.googleapis.com/customsearch/v1?key={YOURAPIKEY}&cx={cx?}&cref={cref?}&q=st%20olaf
Does this get you started?
Take care!
speeves

How to post links with the twitter API?

I'm using the twitter API, but when I post links they are showing up as text and not links. I haven't been able to find the documentation showing how to post a link that actually works.
If you don't keep the prefix (http://) and just post something like www.google.com, the link won't be picked up.
If the URL contains special characters you need encode it before posting to Twitter so it will be converted to a link:
from urllib import quote
url = quote(url)

youtube API: Get mosts popular video uploaded by a user

Here is the original URL to get the xml awnser:
http://gdata.youtube.com/feeds/api/users/RIPPERvideos/uploads
I would like to get all the videos uploaded by this specific user (not be limitted to 20). Also I would like the data to be sorted.
I tried these params:
http://gdata.youtube.com/feeds/api/users/RIPPERvideos/uploads?orderby?v=viewCount
It only seems to be working for these kind of request:
gdata.youtube.com/feeds/api/videos?
q=football+-soccer
&orderby=published
&start-index=11
&max-results=10
&v=2
Can someone help or guide me?
thanks
The URL structure isn't correct, try this (which works):
http://gdata.youtube.com/feeds/api/users/RIPPERvideos/uploads?orderby=viewCount

How to get OSM xml or json data from an url?

I have been working on twitter api and found it easy to get json/xml feed from an url like
http://twitter.com/friends/ids.json?screen_name=Planemad&jsoncallback=?
similarly i wanted to know if there is a way to get OSM json/xml data from an url and use that and use it on an OSM map....
http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6
There is possibilities to read data in specific bounding box (however not too much).