| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Partigi API: items show

Page history last edited by Álvaro Bautista 14 years, 2 months ago

Go back to Partigi API Documentation

 

items/show

Returns the information of a given item, identified by its nicetitle or its id.

 

URL:

http://www.partigi.com/api/v1/items/show.format

 

Formats:

atom, json (more about JSON responses)

 

HTTP Methods:

GET

 

Authentication Mode:

read-only

 

Parameters:

Required:

  • id: The ID or the nicetitle of the item.
  • item_type: The type of the item: film, serie, book,... (see item types page).

 

Optional: 

 

Examples:

 

This two requests:

 

  • http://www.partigi.com/api/v1/items/show?id=77&item_type=film
  • http://www.partigi.com/api/v1/items/show?id=casablanca&item_type=film

 

Return the same result:

 

  <?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
    <title>Pulp Fiction &#187; Films &#187; Partigi</title>
    <id>http://www.partigi.com/films/pulp-fiction</id>
    <updated>2009-06-08T09:01:47Z</updated>
    <link type="application/atom+xml" href="http://www.partigi.com/api/v1/films/pulp-fiction.atom" rel="self"/>
    <link type="text/html" href="http://www.partigi.com/films/pulp-fiction" rel="alternate"/>
    <author>
      <name>Partigi</name>
    </author>
        <entry xmlns:ptPerson="http://schemas.partigi.com/v1.0/ptPerson" xmlns:ptItem="http://schemas.partigi.com/v1.0/ptItem">
      <category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#item"/>
      <id>http://www.partigi.com/films/pulp-fiction</id>
      <title>Pulp Fiction</title>
      <updated>2009-06-08T09:01:47Z</updated>
      <published>2009-03-31T18:46:15Z</published>
      <link type="text/html" rel="alternate" href="http://www.partigi.com/films/pulp-fiction"/>
      <link type="application/atom+xml" rel="self" href="http://www.partigi.com/api/v1/films/pulp-fiction.atom"/>
      <ptItem:id>50</ptItem:id>
      <ptItem:item_type>film</ptItem:item_type>
      <ptItem:year>1995</ptItem:year>
      <ptItem:title lang="en">Pulp Fiction</ptItem:title>
      <ptItem:country>USA</ptItem:country>
      <ptItem:posters type="collection">
        <ptItem:poster type="image/jpeg" lang="" size="thumb" href="http://s3.amazonaws.com/partigidev/films/posters/251/pulp-fiction_thumb.jpg"/>
      </ptItem:posters>
      <ptItem:genres type="collection">
        <ptItem:genre lang="en" id="action_and:adventure">action</ptItem:genre>
        <ptItem:genre lang="en" id="comedy">comedy</ptItem:genres>
        <ptItem:genre lang="en" id="drama">drama</ptItem:genre>
        <ptItem:genre lang="en" id="mystery_and_suspense">mystery and suspense</ptItem:genre>
      </ptItem:genres>
      <ptItem:credits type="collection">
        <ptPerson:entry rel="director">
          <ptPerson:id>733</ptPerson:id>
          <ptPerson:name>Quentin Tarantino</ptPerson:name>
        </ptPerson:entry>
        <ptPerson:entry rel="writer">
          <ptPerson:id>733</ptPerson:id>
          <ptPerson:name>Quentin Tarantino</ptPerson:name>
        </ptPerson:entry>
        <ptPerson:entry rel="cast_member">
          <ptPerson:id>734</ptPerson:id>
          <ptPerson:name>John Travolta</ptPerson:name>
        </ptPerson:entry>
        <ptPerson:entry rel="cast_member">
          <ptPerson:id>735</ptPerson:id>
          <ptPerson:name>Samuel L. Jackson</ptPerson:name>
        </ptPerson:entry>
      </ptItem:credits>
    </entry>
  </feed>

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.