Download presentation
Presentation is loading. Please wait.
1
The project Information Retrieval A.A. 2011-12 P. Ferragina – Dipartimento di Informatica, University of Pisa –
2
AIRPIM Social network for digital cards www.airpim.com Simple RESTful API in JSON format – JSON library http://json.orghttp://json.org – Apache HTTP client library in JAVA http://hc.apache.org http://hc.apache.org – Advanced REST client application (Chrome app) 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 all available attributes for digital cards in the network
5
API - Search http://www.airpim.com/it_IT/me/search GET Search for cards. Parameters: – q= (q=* to list all) – s= (start index) – l= (number of returned cards) – slots= (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 Retrieve all attributes for a digital card Append the __guid__ attribute to the url with parameter details=1 Details for guid=4cbdfa3d77bc37968ec83e386b2611e0 http://www.airpim.com/it_IT/me/card/4cbdfa3d77bc37968ec83 e386b2611e0?details=1
7
API – Other cards Use the search API with the query: q=othercards%3D Retrieve all cards owned by that Other cards for guid=2b7e8896b7ef3c44c2d7d59adce611df http://www.airpim.com/it_IT/me/search?q=othercards%3D2b7e 8896b7ef3c44c2d7d59adce611df
8
Tracks GOAL: Improve the search experience Enrich a card with some text drawn from web Deploy thesaurus to expand queries Social-network based ranking of search results …
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.