<?xml version="1.0" encoding="utf-8" ?>
<ignite version="1.0" source="github">

  <func name="repo" endpoint="https://api.github.com/repos/{owner}/{repo}" method="GET" format="JSON">
    <description>
      This function returns meta data for a repo.
    </description>
    <example>
      =Ignite("github","repo","description","github","developer.github.com")
    </example>
    <document>
      <![CDATA[
      <a class="doc" href="https://developer.github.com/v3/repos/">Documentation</a>
]]>
    </document>
    <inputs>
      <input name="User-Agent" type="config" value="enclout_app"  method="HTTP_HEADER"/>
      <input name="owner" type ="input1" process="replace"/>
      <input name="repo" type ="input2" process="replace"/>
    </inputs>
    <outputs>
      <output name="id" path="id"/>
      <output name="private" path="private"/>
      <output name="name" path="name"/>
      <output name="full_name" path="full_name"/>
      <output name="description" path="description"/>
      <output name="created_at" path="created_at"/>
      <output name="updated_at" path="updated_at"/>
      <output name="pushed_at" path="pushed_at"/>
      <output name="git_url" path="git_url"/>
      <output name="watchers_count" path="watchers_count"/>
      <output name="forks_count" path="forks_count"/>
      <output name="stargazers_count" path="stargazers_count"/>
      <output name="open_issues_count" path="open_issues_count"/>
      <output name="network_count" path="network_count"/>
      <output name="subscribers_count" path="subscribers_count"/>
    </outputs>
  </func>


  <examples>
      <![CDATA[
<table border='1' class='ExcelTable2007'>
<tr><th class='heading'>&nbsp;</th><th>A</th><th>B</th><th>C (Forumla)</th><th>D (Output) </th></tr>
<tr><td class='heading' >1</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","id",A1, B1)</td>
    <td align='right' valign='bottom'>1666784 </td>
</tr>
<tr><td class='heading' >2</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","private",A2, B2)</td>
    <td align='right' valign='bottom'>false</td>
</tr>
<tr><td class='heading' >3</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","name",A3, B3)</td>
    <td align='right' valign='bottom'>developer.github.com </td>
</tr>
<tr><td class='heading' >4</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","full_name",A4, B4)</td>
    <td align='right' valign='bottom'>github/developer.github.com </td>
</tr>
<tr><td class='heading' >5</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","description",A5, B5)</td>
    <td align='right' valign='bottom'>GitHub Developer site </td>
</tr>
<tr><td class='heading' >6</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","created_at",A6, B6)</td>
    <td align='right' valign='bottom'>4/26/2011 7:20:56 PM </td>
</tr>
<tr><td class='heading' >7</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","updated_at",A7, B7)</td>
    <td align='right' valign='bottom'>7/10/2015 7:34:28 AM </td>
</tr>
<tr><td class='heading' >8</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","pushed_at",A8, B8)</td>
    <td align='right' valign='bottom'>7/10/2015 10:52:32 PM </td>
</tr>
<tr><td class='heading' >9</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","git_url",A9, B9)</td>
    <td align='right' valign='bottom'>git://github.com/github/developer.github.com.git </td>
</tr>
<tr><td class='heading' >10</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","watchers_count",A10, B10)</td>
    <td align='right' valign='bottom'>876</td>
</tr>
<tr><td class='heading' >11</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","forks_count",A11, B11)</td>
    <td align='right' valign='bottom'>910</td>
</tr>
<tr><td class='heading' >12</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","stargazers_count",A12, B12)</td>
    <td align='right' valign='bottom'>876</td>
</tr>
<tr><td class='heading' >13</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","open_issues_count",A13, B13)</td>
    <td align='right' valign='bottom'>9</td>
</tr>
<tr><td class='heading' >14</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","network_count",A14, B14)</td>
    <td align='right' valign='bottom'>910</td>
</tr>
<tr><td class='heading' >15</td>
    <td>github</td><td>developer.github.com</td>
    <td>=Ignite("github", "repo","subscribers_count",A15, B15)</td>
    <td align='right' valign='bottom'>174</td>
</tr>

</table>
      ]]>
  </examples>

</ignite>

