CynthiaOmovoiye commented on a change in pull request #272:  Pull contributor 
data from JSON APIs
URL: https://github.com/apache/camel-website/pull/272#discussion_r399236044
 
 

 ##########
 File path: layouts/shortcodes/contributors.html
 ##########
 @@ -0,0 +1,32 @@
+{{ $urlPre := "https://api.github.com/repos"; }}
+{{ $username := "Apache" }}
+{{ $repo := "camel-website"}}
+{{ $token := ""}}
+<!-- Enter token here -->
+{{ $scope := "all"}}
+{{ if eq $token "" }}
+<p>Unable to get contributors details[set token]</p>
+{{else}}
+{{ $collaborators := getJSON $urlPre "/" $username "/" $repo 
"/collaborators?access_token=" $token  }}
 
 Review comment:
   I have been able to pull the Contributors data and have it display on the 
page but I am concerned that the names retrieved from this data do not 
correspond with the names listed in the Contributors section on the team.md 
page. Is there somewhere else to pull this data from or can I go on with what I 
have? Thank you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to