anazawa wrote:
You can try unofficial JSON API for KGS Go Server, MetaKGS (
http://metakgs.org/docs).
I believe you can GET /api/archives/:user which contains the user's latest rank.
Note: MetaKGS is in beta state, and so the APIs may change without notice.
Wow! It's a great project.
Sadly GET /api/archives/:user do not include the user's latest rank (will be an awesome feature improvement, maybe even I try to do a pull request when I get some free time

).
Right now, I will need to do GET /api/archives/:user, then GET prev, and then go to content -> games -> first game -> white (and black) -> check players' names and ranks. Is a little bit long, but still the better way to do it so far.
B) Write a MetaKGS client using your favorite language and then implement the object method #get_latest_rank_by_name (my recommendation). You have already understood
how to get the user's latest rank using MetaKGS APIs, and so it will be easy for you.
I can also introduce your client on MetaKGS.org.