Skip to content

Commit 43c7f6f

Browse files
author
Peter Degen-Portnoy
committed
Merge pull request #22 from PeterDP/master
Add documentation for the new badges section of the Ohloh API
2 parents d1123f1 + 8176041 commit 43c7f6f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

reference/account.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,19 @@ If this account has a KudoScore, it will appear here. New accounts may not have
9595
</languages>
9696
```
9797

98+
+ __badges__
99+
Lists the badges awarded to the account holder. All accounts have a Kudo Score of at least 1, so the Kudo Rank badge will always appear here. Badges are listed with these attributes:
100+
- __name__
101+
The name of the badge
102+
- __level__
103+
The numeric value of the level for the badge. Some badges are "binary", such as the Project Manager or the Organization Manager badges. These are awarded when the account holder manages a project or organization, respectively. For these types of badges, the level is '0'
104+
- __description__
105+
This is the description of the badge that is used for tool tips on Ohloh
106+
- __image_url__
107+
This is the URL of a 64x64 pixel icon of the badge image
108+
- __pips_url__
109+
This is the URL of a 15x64 pixel icon of the pips based on the level. This will be empty when the level is 0.
110+
98111
### Making API Calls
99112

100113
#### Individual account

0 commit comments

Comments
 (0)