1 / 8

The project

The project. Information Retrieval A.A. 2011-12 P. Ferragina – Dipartimento di Informatica, University of Pisa –. AIRPIM. Social network for digital cards www.airpim.com Simple RESTful API in JSON format JSON library http://json.org

johnna
Télécharger la présentation

The project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The project Information Retrieval A.A. 2011-12 P. Ferragina – Dipartimento di Informatica, University of Pisa –

  2. AIRPIM • Social network for digitalcards • www.airpim.com • Simple RESTful API in JSON format • JSON libraryhttp://json.org • Apache HTTP client library in JAVA http://hc.apache.org • Advanced REST client application (Chromeapp) https://chrome.google.com/webstore/detail/ahdjpgllmllekelefacdedbjnjaplfjn

  3. API - Login http://www.airpim.com/login • POST • HTTP authentication • Username = unipi2011 • Password = unipi2011

  4. API - Schema http://www.airpim.com/me/schema?keys=concepts • GET • list allavailableattributes for digitalcards in the network

  5. API - Search http://www.airpim.com/it_IT/me/search • GET • Search for cards. Parameters: • q=<query> (q=* to list all) • s=<number> (start index) • l=<number>(number of returnedcards) • slots=<comma-separated list of attributes> (additional information to include in the resp) • First 12 cards, with identity and company infos: http://www.airpim.com/it_IT/me/search?q=*&s=0&l=12&slots=personidentity,companyidentity

  6. API – Card details http://www.airpim.com/it_IT/me/card/ • GET • Retrieveallattributes for a digital card • Append the __guid__attribute to the url with parameterdetails=1 • Detailsfor guid=4cbdfa3d77bc37968ec83e386b2611e0 http://www.airpim.com/it_IT/me/card/4cbdfa3d77bc37968ec83e386b2611e0?details=1

  7. API – Other cards • Use the search API with the query: q=othercards%3D<guid> • Retrieve all cards owned by that <guid> • Other cards for guid=2b7e8896b7ef3c44c2d7d59adce611df http://www.airpim.com/it_IT/me/search?q=othercards%3D2b7e8896b7ef3c44c2d7d59adce611df

  8. Tracks GOAL: Improve the searchexperience • Enrich a card with some text drawn from web • Deploy thesaurus to expandqueries • Social-network based ranking of searchresults • …

More Related