-
Notifications
You must be signed in to change notification settings - Fork 0
Profilesapi
aron edited this page Feb 15, 2012
·
7 revisions
All JSON endpoints support JSONP, just add a ?callback param.
- Get a profile given an email address: http://who.theskiff.org/profiles/**email**.json
- Get a profile given a has (see above): http://who.theskiff.org/profiles/**hash**.json
For example:
- http://who.theskiff.org/profiles/tom@almostobsolete.net.json
- http://who.theskiff.org//profiles/f54f1980fe7515d4924dff9287b7b83b.json
NOTE: All hash parameters are the email address hashed using MD5.
There is a link for a profile picture in the JSON profile. But if you just want something to incude in an <img> tag right away you can use this shortcut.
- Get a profile given an email address: http://who.theskiff.org/profiles/**email**.jpg
- Get a profile given a has (see above): http://who.theskiff.org/profiles/**hash**.jpg
For example:
- http://who.theskiff.org/profiles/tom@almostobsolete.net.jpg
- http://who.theskiff.org//profiles/f54f1980fe7515d4924dff9287b7b83b.jpg
<img src="http://who.theskiff.org//profiles/f54f1980fe7515d4924dff9287b7b83b.jpg">