Created
December 20, 2013 09:47
-
-
Save bradherman/8052588 to your computer and use it in GitHub Desktop.
Shelfari API example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl 'http://www.shelfari.com/ws/json/ShelfariService.ashx' --data-binary '{"id":0,"method":"getShelfBooks","params":{"0":2504331,"1":2504331,"2":2,"3":"","4":"dateadded","5":2,"6":40,"7":0,"8":160}}' --compressed | |
| 0 - id of lookup | |
| 1 - id of you | |
| 2 - type of search (0: all, 1: favorites, 2: plans to read, 3: wishlist, 4: read, 5: owns, 6: reading, 100: common) | |
| 3 - leave blank | |
| 4 - sort type (dateadded, rating, opinions, datepublished, author, title) | |
| 5 - page | |
| 6 - 40 | |
| 7 - 0 | |
| 8 - 160 (160: 24, 100: 34, 80: 40) | |
| http://www.shelfari.com/ws/json/ShelfariService.ashx?id=0&method=getShelfBooks¶ms[0]=2504331¶ms[1]=2504331¶ms[2]=2¶ms[3]=¶ms[4]=dateadded¶ms[5]=2¶ms[6]=40¶ms[7]=0¶ms[8]=160 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment