-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGravatar.txt
69 lines (59 loc) · 2 KB
/
Gravatar.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[API]
HASH = md5(<email>)
- trim(<email>), strtolower(<email>)
r/rating:
- g: suitable for display on all websites with any audience type.
- pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
- r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
- x: may contain hardcore sexual imagery or extremely disturbing violence.
[AVATAR]
https://www.gravatar.com/avatar/<HASH>
https://www.gravatar.com/avatar/<HASH>?s=<size>
https://www.gravatar.com/avatar/<HASH>?s=<size>?d=<default_image_location(url_encoded)>
https://www.gravatar.com/avatar/<HASH>?s=<size>?d=mp(myster-person)✓
https://www.gravatar.com/avatar/<HASH>?s=<size>?r=<rating>✓
[PROFILE]
https://en.gravatar.com/<HASH>.json✓
https://en.gravatar.com/<HASH>.json?s=<size>&r=g&d=mp
[TEST]
https://www.gravatar.com/avatar/<HASH>?s=<size>&r=g&d=mp
https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=<size>&r=g&d=mp
https://en.gravatar.com/<HASH>.json?s=<size>&r=g&d=mp
https://en.gravatar.com/205e460b479e2e5b48aec07710c08d50.json
[SAMPLE]
- Todo use rating here
{
"entry": [
{
"id": "1",
"hash": "2b85c1e9cb2440fb72093c0c8db737e2",
"requestHash": "2b85c1e9cb2440fb72093c0c8db737e2",
"profileUrl": "http://gravatar.com/gravatar",
"preferredUsername": "gravatar",
"thumbnailUrl": "https://secure.gravatar.com/avatar/gravatar",
"photos": [
{
"value": "https://secure.gravatar.com/avatar/gravatar",
"type": "thumbnail"
},
{
"value": "https://secure.gravatar.com/avatar/gravatar"
}
],
"name": {
"givenName": "Gravatar",
"familyName": "Gravatar",
"formatted": "Gravatar Gravatar"
},
"displayName": "gravatar",
"aboutMe": "Gravatar",
"currentLocation": "San Gravatar",
"urls": [
{
"value": "https://en.gravatar.com",
"title": "Gravatar"
}
]
}
]
}