I'm trying to update my GitHub API wrapper, le-git (formerly
github-party), and I'm seeing some inconsistencies in the data I'm
getting back.

If I do a user search, a user has a name, which is their login (ie
technicalpickles). However, if I do a user show, a user has a name,
which is their actual name (ie Josh Nichols).

For example, here is a search for my account:

<users type="array">
  <user>
    <score type="float">4.0780807</score>
    <name>technicalpickles</name>
    <actions type="integer">500</actions>
    <language>Ruby</language>
    <followers type="integer">81</followers>
    <username>technicalpickles</username>
    <type>user</type>
    <fullname>Josh Nichols</fullname>
    <repos type="integer">60</repos>
    <id>user-159</id>
    <pushed>2009-06-08T20:15:13.854Z</pushed>
    <created>2008-02-07T05:38:06Z</created>
    <location>Boston, MA</location>
  </user>
</users>

... compared to the show:

<user>
  <name>Josh Nichols</name>
  <company></company>
  <following-count type="integer">52</following-count>
  <public-gist-count type="integer">119</public-gist-count>
  <public-repo-count type="integer">60</public-repo-count>
  <blog>http://technicalpickles.com</blog>
  <id type="integer">159</id>
  <followers-count type="integer">81</followers-count>
  <login>technicalpickles</login>
  <location>Boston, MA</location>
  <email>[email protected]</email>
  <created-at type="datetime">2008-02-06T21:38:06-08:00</created-at>
</user>

Was this intentional? If not, is it possible to make it more consistent?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to